Prevent changing of answers
August 20, 2009 12:00 AM
blewis said:How do you prevent someone from changing their answers for a fill-in once he/she has answered and submitted their results in a test? I have created an action that returns users to a "Good bye" page if they hit any key and the test has been processed and submitted. This works 90% of the time, but special characters like =][ and the delete key still allow that item to be entered or a delete to occur (if the delete key is used). Any thoughts? Thanks,
Happy Friday,
Like always theres different ways of doing the same thing. Depends on what you feel most comfortable with.
For a fill in answer, I would take the Entry Field for that Fill in and go to the Properties and change it to not "Initially Visible". Next on the page itself, create a new Action for:
On:Show
Action:Show
Target:(put your question here)
Then go to the Condition Tab:
Variable
(select the name of your question)
Relationship
Is Empty
Next, create a text field as a placeholder for the answer and place that placeholder where the answer should be.
Now create another Action at the page level (make sure this action is below the one you just created above):
On:Show
Action:Change Contents
Target:(the name of your placeholder)
New Contents:(the name of your question)
So what happens is on the first visit to this page, the learner will be able to enter in an answer and when finished can go to the next page. If the learner decides at the next page to go back to our original page, the question will now have an answer in it and the placeholder will appear at the spot where the fill in was and will not be able to re-do their answer.
Hope that helps.
You can send me a message if this doesn't make sense.
-kelly
Discussions have been disabled for this post