Programming 1 choice Assessment
December 12, 2008 12:00 AM
Hi emaginative.You state that you want to users to be allowed just one try to answer a question, but then you say, ".. where to add an action to restrict answers to a single choice. " Do you mean a single try?Let me show the single try to a question.Here is one way under the assumption that the assessment will not have a "Back" button. 1. Create a variable, named, _attempt, with an initial value of 0.2. Create a button called "Show Me".3. For the "Show Me" button properties add the following under the On Click tab:Action: Modify VariableTarget: _attemptValue: 1Modification Type: Set Variable Contents4. Create a blank text box and name it, Cover. In the general properties, - Uncheck "Initially Visible", - Check "Always on Top", and - Check, "Render text as image when published". Size this text box over the question and the "Show Me" button. Use layering "Bring To Front"5. Add an action to the "Show Me" button with the following:On: Mouse ClickAction: Toggle Visibility StateTarget: Coverwith a condition, Perform Action ONLY if the following is TRUE:_attempt Equal To 1What will happen is that the user will make their choice, then when they click the "Show Me" button, the variable "_attempt" will record a 1 for attempt, and the text box called "Cover" will cover the question and the "Show Me" button, preventing the user from changing their choice.Edited By: bruman on 2008-12-11 16:21:33
Discussions have been disabled for this post