skip logic for radio buttons using a questionaire format

Posted on 2007-07-24
Medium Priority
Last Modified: 2010-08-05
I have a questionnaire/survey with about 10 questions that consist of mostly radio buttons. Each question has 3 or more choices. Ex. Yes, no, dont know or a scale from 1 to 5(not at all to fully used). Some questions say skip the rest of the section if answered not at all. I dont know if I should display (or hide) the rest of the questionnaire or not? And if yes display this question. However if the user revisits the questionnaire they should have the option to change their answers. All responses are submitted to an SQL database using coldfusion. I need code that I can reuse and update! Should I disable or hide all questions but the first question? Please help me, I need detailed code and examples!
Question by:FIATECH
LVL 29

Accepted Solution

Pravin Asar earned 1000 total points
ID: 19559301
look at the sample at


Feel free to look at code..

Based on the answer for Q.1 , Q2 is displayed/hidden.


Author Comment

ID: 19566564
That is ok but I decided that I don't want to layout the entire questionaire in advance.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Suggested Courses
Course of the Month17 days, 10 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question