This is a discussion on "ASP Survey - Skipping Questions" within the Classic ASP section. This forum, and the thread "ASP Survey - Skipping Questions are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
ASP Survey - Skipping Questions
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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 |
|
|
|
||||
|
Re: ASP Survey - Skipping Questions
answer is here:
http://forums.aspfree.com/showpost.p...88&postcount=2
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
Re: ASP Survey - Skipping Questions
yes well i accidently clicked that response as the answer. i am unable to get it to work still so was hoping for soem help
|
|
||||
|
Re: ASP Survey - Skipping Questions
What have you done so far?
You can't just expect people to get the system you're using, set it up on their own machines, find out how it works, produce your desired effect and then post back.... That answer tells you the method you should use. How have you decided to implement it? Have you done anything at all?
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
Re: ASP Survey - Skipping Questions
Theres no need to get angry. I am extremely new to ASP, and forums are a place where experts connect. I do not think there is anything wrong with posting such a problem here in hope of a solution.
in answer to your question i have implemented most of this system already here: http://www.beaniekids.com/test/bkqf/...stionnaire.asp i just cannot get the question skipping to work. i want the survey to automatically skip certain questions based on the previous answer. for example if they answer Question 3 'Male', i want the survey to go to Question 5 instead of 4 when the next button is pressed. i posted up the code for the questionnaire page, proceed (which is called when the next button is pressed) and tally (which tallys up the answers at the end and saves them to database). |
|
||||
|
Re: ASP Survey - Skipping Questions
Not angry... I appologize if it came across that way.
What I gathered from the code you posted is that you'll need something like this:
I'm not having a go but, that script is so badly coded I'd recommend you find another free questionnaire script - which might even already have the functionality you need.
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
![]() |
| Tags |
| asp, survey, skipping, questions |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CS3 - Skipping the Animation in Flash Header | atwba | Flash & Multimedia Forum | 1 | Nov 17th, 2007 16:48 |
| Female/Male Survey | alexgeek | Webforumz Cafe | 13 | Oct 16th, 2007 17:08 |
| Creating a Web Survey | bonfire28 | PHP Forum | 3 | Nov 20th, 2006 15:16 |
| eservices.mu/survey/survey.aspx | vincent | Free Web Site Critique | 10 | Jul 12th, 2006 10:45 |
| php online survey - coding help | gribble | PHP Forum | 1 | Jun 18th, 2006 23:12 |