Hide next button until question is correct or max attempts have been met

jwracca Community Member Posts: 11
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.



  • jwracca
    jwracca Community Member Posts: 11
    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.
  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    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".
  • benpitman
    benpitman Community Member Posts: 763
    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.