944,123 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 2537
  • ASP RSS
Aug 9th, 2006
0

Skipping Questions in my ASP survey

Expand Post »
Hi guys, i am new to asp so sorry if this is easy.

I have done an ASP survey based on an open-source survey by Guo Xu from planet source code. it is a multiple choice survey
You can see this here: http://www.beaniekids.com/test/bkqf/...stionnaire.asp

This survey uses an Access database which can be downloaded here: http://www.beaniekids.com/test/bkqf/survey.mdb

My Question is, How can i skip questions....

For example, Question 3 asks if a user is male or female.
If they answer MALE i want it to skip to Question 5 instead of going to Question 4. 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 asp text file which are called after each question is answered, and tally.asp which is called at the very last question to write all responses to the database.

If you could show me what code to add to skip questions that would be great, and much appreciated. Thanks
Attached Files
File Type: txt proceed.txt (919 Bytes, 21 views)
File Type: txt p2_questionnaire.txt (3.7 KB, 22 views)
File Type: txt tally.txt (686 Bytes, 17 views)
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mitcho is offline Offline
1 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: Syntax error (missing operator) in query expression 'OrderNo='.HELP PLEASE
Next Thread in ASP Forum Timeline: problem in javascript coding in asp page





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC