
Aug 9th, 2006, 14:05
|
|
New Member
|
|
Join Date: Dec 2005
Age: 24
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
ASP Survey - Skipping Questions
Hi guys. I have been creating an ASP survey based on an open-source survey by Guo Xu from planet source code. anyway, it is basically a multiple choice survey where users firstly enter their details, and then answer a series of multiple choice questions. You can see this here http://www.beaniekids.com/test/bkq2/user_details.asp . This survey uses an Access database which can be downloaded here: http://www.beaniekids.com/test/bkq2/survey.mdb
My Question is, How can i skip questions....
For example, the first question asks if a user is male or female.
If they answer MALE i want it to skip to Question 3 instead of going to Question 2. How can this be done. i have tried a number of times but cant seem to do it...
i have attached the text asp files for The questionnaire (which is one page that displays each question). i have also attached the proceed and tally asp text files which are called after each question is answered (if you need any more files let me know and ill post up).
And finally, one last question, is there a way to check if a user has answered a previous question. for example, right now i can go from Question 1 to Question 5 simply by changing the url in my browser to from .../p2_questionnaire.asp?QC=1 to ...//p2_questionnaire.asp?QC=5 < how can i prevent this kind of unwanted question skipping. Thanks
|