PDA

View Full Version : Quiz Help!



skter4938
06-01-2006, 12:46 PM
I'm working on a site for a friend and he wants to add a questionnaire to his site. The problem is that I would need it by Monday or Tuesday of next week. Here are the details:

- There are 10 questions. All the answers are as follows: A= very satisfied B= satisfied C= somewhat dissatisfied D= very dissatisfied.


A= 4 points
B= 3 points
C= 2 points
D= 1 points


Once the test is scored it would take you to one of three different pages. The score ranges are: 10-20, 21-30, 31-40.


- There are 2 variations for Question 8: You can only answer Question 8a or 8b - not both.

Please help ASAP as I need this by this weekend.:)

Thank you,
Best Regards,
Artem Artemov

djr33
06-01-2006, 07:41 PM
might want to use php if you want it secure.

it's all fairly easy.

just do your stuff, have javascript pass on the value from page to page, and then at the end, redirect based on ifs... if (score < 40) {redirecthere}

As for number 8.... what?
What decides it? they pick? random?
either way.. not hard... just have them answer only one on the page, then go to the next one and not get the chance to answer the other one.
still don't quite get that.