Hide next button until question is correct or max attempts have been met
June 30, 2014 12:00 AM
Hi all,
I am trying to figure out how to not show the next button on a test question until the question has been answered correctly or the max attempts (3) has been met.
I tried using the set completion status, but cant seem to figure it out.
Any help would be appreciated.
Thanks,
Discussion (3)
Ok, so i added an action to the submit button that shows my next button with a condition that my question is correct.
Still could use some help on how to show the next button if the question is answered wrong 3 times how to get the next button to show.
Lectora 11, use the Max Attempts tab in the question creator. When it is reached, run a group of actions. The first action shows whatever feedback you want to give after 3 tries. The second shows the Next button.
Create a counter variable, default set it to 0. Modify your Submit action from "IF question is correct SHOW next button" to "IF question is correct SHOW next button ELSE increment counter" and add another action "IF counter > 3 SHOW next button".
Discussions have been disabled for this post