clearing question answers between try.s
February 14, 2006 12:00 AM
Verrelli wrote:
All questions have a variable associated with them (it's on the first page of the question's properties). To clear the answer for a question, just set the value of the variable to nothing. Create an action, set the condition to whatever you want it to be to invoke it, set the action as "Modify Variable", select the target as the variable associated with the question, and set the value as nothing ... and I don't mean the string "nothing" ... I mean leave the field empty, blank, nothing ... Make sure to NOT do this action on the page that contains the question ... otherwise the lofgic built on the page to store the selecion/answer you gave into the variable will more than likely overwrite your resetting of the variable.Tim Well, unfortunately, this doesn't seem to work with the HTML version. After the user gets the question incorrect three times, I supply them with a "Give Up" button, which they can click to see the correct answer (which I effect by showing an image of the correctly-solved question). The lines that the user drawed were still showing up on top of the new image (even though they were in a lower layer), so I tried adding an action to the Give Up button that modified the question variable as you described. Unfortunately, it seems to have no effect whatsoever . I also tried having an action hide the question, but that didn't work either...the lines persisted.Any other suggestions? It's important to me that the user stays on the page until either he/she gets the answer correct or sees the "give up" answer.TIA!LauraP.S. I'm using Lectora Pro Suite 2006 SP2 and IE, in case this helps...Edited By: Tecocat on 2006-4-17 10:47:0
Discussions have been disabled for this post