clickit
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by clickit
-
-
Chocolate570, thank you for your suggestion! I tried the example given. It returned an error mesage: "document.set1.style" is null or not an object. What is wrong! Can you help? Thank you!
-
I need to create a questionnaire with different set of questions. Suppose I have a lead question with three options:A and B. When user selects option A, questions 4-8 will follow. When user selects option B, questions 9-10 will follow. The rest of the questionnaire remains the same for both options.<DIV><input type radio name=sel value=A onclick="document.set1.style.visibility='visible'"> Option A <input type=radio name=sel value=B onClick="document.set2.style.visibility='visible'"> Otion B</DIV><DIV name="set1" style="visibility:hidden">Questions 4-8</DIV><DIV name="set2" style="visibility:hidden">Questions 9-10</DIV><DIV> the rest of the questionnaire</DIV> The above codes don't work! Can you help? Is there other alternative methods? Thank you!
Questionnaire with variable set of questions
in JavaScript
Posted
Yes, it works! Thank you very much! Chocolate570, Have a nice day!