Hide the next button until they answer the matching question correctly

AMuhs
AMuhs Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 3 ☆ Roadie ☆
Hello Lectora Community,

I am working on a project and am using the matching questions throughout the presentation. I would very much like to have the participant stay on the page until they answer correctly. I have the "next button" hidden on page show but cannot locate an action called "check my answer" as I saw in other posts to allow an action to make the next button appear after the correct answer. Can anyone give me the action protocol to hide a next button until the user answers the matching question correctly? I imagine I need to use variables which I haven't delved into too much yet.
Thank you for your help,
Adam

Best Answers

  • timk
    timk Community Member Posts: 1,217 ♦ Idol ♦
    Answer ✓
    The action you need is "Show > Next button". Then add a Condition to the action "If Question_0001 is correct."

  • andrew-robertson
    andrew-robertson Community Member Posts: 253 ☆ Superstar ☆
    Answer ✓
    Hi Adam - I know you marked this feed as answered, but I wanted to share with you how we do our assessments.

    We like to provide the opportunity for the user to answer the question, and then be provided with the outcome and corrective feedback after hitting submit. We also modify this for our exams where we don't want corrective feedback to be provided by simply removing the action/text blocks for informative feedback portion.
    Andrew R.
    Developing content since 2010 using a mixed bag of tools.
  • nmurphy1683
    nmurphy1683 Community Member Posts: 1 ♪ Opening Act ♪
    Answer ✓
    @AMuhs , you could also create an action group and then, in your feedback action pane, have the correct feedback action be to run the action group that's saying to show the next button (and you can add feedback triggers to this action group as well).



    I would recommend either of the following:

    Have the next button displayed but initially disabled, and then trigger it enabled on correct response (see instructions above).
    OR
    Have the next button displayed and enabled, but make the action conditioned upon if the answer is answered correctly (as shown above by another user). I suggest adding a prompt stating that the question must be answered correctly before proceeding, and add the prompt group in the "Else Action" pane.





Answers

  • AMuhs
    AMuhs Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 3 ☆ Roadie ☆
    Thank you for responding. I noticed you placed this action on a separate button. I tried to place this action on the next button and it wouldn't populate. I wasn't planning on having a separate button to produce the variable. Any additional help would be greatly appreciated

  • timk
    timk Community Member Posts: 1,217 ♦ Idol ♦
    When do you want the Next button to show? A "Check answer" button might be an option.

    But you can also use the Feedback settings of the question and show the button as a "Correct Feedback", either "Immediately" when the question is answered or "On: Process Question", i.e. when a Process Question action is executed.


  • AMuhs
    AMuhs Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 3 ☆ Roadie ☆
    Hey Tim, my goal was to have the "next button" hidden on page show and only show after the user answers correctly. I wasn't able to create that. However, with your assistance with the variables, I was able to have the next button visible, but disabled, until after the user answers correctly so I can work with that. Thank you so much for your help with this!
    Adam