Forum Discussion

KimMcQuillen-18's avatar
KimMcQuillen-18
Community Member
3 years ago

Issue with button

Hi, folks!

I am having an issue with the code in the attachment. When all conditions are met and the user has selected each of the Ovals, then clicks on the button, they are NOT taken to slide 2.5 Knowledge Check #1...UNTIL they go back and re-select one of the ovals and re-click Button 1.

Is there a problem with the code, or is this a known issue?

Thank you!

Kim

 

  • I just put together a simple test and it works for me (see attached). The selected state is a toggle state. Without seeing your file, the fact that you have to go back and select and resubmit suggests that it's not in a selected state which can be turned off. Is there a reason you use the selected state and not a visited? If you can use a visited state instead, you could try that and see if it works as intended.

    If you want to share the file perhaps we can see if we experience the same issues. 

    • KimMcQuillen-18's avatar
      KimMcQuillen-18
      Community Member

      Hi! Thank you for your reply. I went with "selected" because that was what
      was already there in a similar exercise I was adapting from the Content
      Library.
      I substituted "visited" for the state and it fixed the issue.

      Thank you!

      Best regards,

      Kim