Forum Discussion

KarenHill-63fbc's avatar
KarenHill-63fbc
Community Member
2 months ago
Solved

Pick one - invalid response error message

Hi all! I have looked through the recent queries on the same topic and watched a video tutorial, but unfortunately I still cannot figure out what I am doing wrong. 

I want to do a fill in the blank exercise which will have multiple fill in the blank boxes. I have made a really simple example with 2 boxes and I receive the "Invalid Answer: You must complete the question before submitting" message.

I have the correct and incorrect buttons on the form view, with correct selected as the correct response. I also have added the triggers to show correct/ incorrect as selected and showing the layers based on all the answers being right or wrong. 

I'd really appreciate any guidance on what I am doing wrong :) thank you very much in advance, I have attached the storyline scene. 

  • There's a "Submit [interaction]" trigger before the triggers that select the Correct or Incorrect buttons. So neither button is selected at that point, which is why you see the "Invalid answer" message. 

    Also, the conditions for selecting the Incorrect trigger need to be connected with "or." (Connecting with "and" means the trigger will only run if both conditions are met. Connecting with "or" means the trigger will run if any of the conditions is met.)

    Alternately, you could use just one trigger to select a response button by adding an Else statement:

     

2 Replies

  • There's a "Submit [interaction]" trigger before the triggers that select the Correct or Incorrect buttons. So neither button is selected at that point, which is why you see the "Invalid answer" message. 

    Also, the conditions for selecting the Incorrect trigger need to be connected with "or." (Connecting with "and" means the trigger will only run if both conditions are met. Connecting with "or" means the trigger will run if any of the conditions is met.)

    Alternately, you could use just one trigger to select a response button by adding an Else statement: