Forum Discussion

NicoleEricks951's avatar
NicoleEricks951
Community Member
2 years ago

Invalid answer using customized pick one question

Hello, Looking for advice to solve the dreaded invalid answer error code. I used a tutorial to set up a pick one question where users need to fill in the correct text entry fields. If they equal the value than the correct button is triggered. If they input the wrong text the incorrect button is triggered. However I am running in to a problem with the incorrect. When testing if I enter in all 7's I get an incorrect message. However if I enter in random numbers I get the invalid error code. I have attached my project file if anyone has time to help me out. 

  • The trigger to select the "Incorrect" button has multiple conditions. Those are connected with "and." That means that every condition must be met, or the trigger won't run. Thus, if the user enters even 1 correct number, that trigger won't run, neither of the "answer" buttons will be selected, and the program will give the "Invalid answer" message. 

    Change the "and" connectors to "or," and the slide will work. (And welcome to the very large club of folks who have made that mistake. 😄)

    FYI: A simpler option would be to use just one trigger to check the variable values. If all of the values = the appropriate number, select the "Correct" button. Add an "Else" action to select the "Incorrect" button. 

    BTW, it would be much simpler to troubleshoot if you gave every object a meaningful name.

    Also note that your text-entry fields aren't in the proper Focus Order. That would be very confusing/frustrating for anyone using the keyboard to move through them. (Custom Focus Order in Storyline 360 - E-Learning Heroes (articulate.com) )

  • Kudos to @JudyNollet.  Just used your Pick One trigger with the text entry correct and incorrect (else) even though you responded 4 months ago. Eureka. Just goes to show a little digging into common issues others have can help solve problems. Thanks. 

    • JudyNollet's avatar
      JudyNollet
      Super Hero
      Debra Mascott

      Kudos to @JudyNollet.  Just used your Pick One trigger with the text entry correct and incorrect (else) even though you responded 4 months ago. Eureka. Just goes to show a little digging into common issues others have can help solve problems. Thanks. 

      Kudos to you, Debra, for doing a little digging!  Many questions have already been asked and answered here. 

      In addition, there's extensive info in Articulate's User Guides: Articulate Tutorials & User Guides - E-Learning Heroes 

      • DebraMascott-05's avatar
        DebraMascott-05
        Community Member

        While I have you, @JudyNollet.... What is the proper way to use text or numeric entry as a blank field? I pressed the spacebar for each text entry so that "type your text here" does not clutter the screen. I want the students to treat this as a spreadsheet... nice and clean.

        Thanks in advance.