Change state question with no response


For each question a button allows to submit the question.
When the answer is incorrect or correct it is no longer possible to answer after (I put the number of attempts to 1).
I wish it could not be answered after the action on the button even if there is no answer.
Thank you


You can add the following script to On Complete event to disable the question when there’s no answer:

prez.object('question name').disable();

This script can be added to On Click event of Submit button to disable the question after submitting.

However, if there’s no answer, the question will be enabled again when going back to that slide.
If you want to disable the question in this case, you can use a true/false variable: set it to true when disabling the question, and disable the question again in slide On Load event if the variable is true.