Limiting tries on questions

krvenick said:I think I may have seen this before, but is there a way to specifiy the number of times a learner can try to answer a question before you show him/her the correct answer? Thanks.


 


You can set a counter variable. Then assign an action to the question's submit button to modify the counter variable by adding 1 to it. Add another action that checks the counter variable's value. If the counter variable is => your maximum number of attempts, hide the submit button and show feedback.

Discussions have been disabled for this post