Questions and Drop down lists
April 25, 2006 12:00 AM
HiYes you can do this.On the page with your question you will need to add some actions to the button you use to go to the next screen.For each answer you will need an action that is 'on click' to modify the variable of the question eg Question_0001 to equal the value of the dropdown item and a conditional statement to only change the variable if the content was equal to the value of the dropdown item. Finally dont make the actual question visible.So place a True/False question on a page with a dropdown with two values True and FalseThe dropdown will have a variable of Dropdown_001 and the question a variable of question_001Hide the question from view and let the user choose from the dropdown.The next biutton has 2 added actions.1. on click modify variable question_001 with the content VAR(Dropdown_001) set a condition to only do this if the following is true Variable Dropdown_001= True2. Repeat this for one with the condition False.You need the conditions otherwise it will jump through each one and the last will always be the result.I hope that makes sense.Neil
Discussions have been disabled for this post