Forum Discussion

SheilaBulthuis's avatar
SheilaBulthuis
Community Member
12 months ago

Multiple Fill-in-the-Blank Quiz Question

Hi all - 

I'm trying to create a quiz question with two data entry fields, where the user has to get both correct. I've done this before and can't figure out why it's not working this time.

I'm using a Pick One freeform question with triggers to select the "answer" based on what the user enters in the data entry fields. But when I test it, after clicking Submit I get a message that "You must complete the question before submitting." I have a feeling I'm missing something obvious but can't figure it out.

The slide is attached - any help would be appreciated!

  • The trigger to Submit the question comes before the triggers that select the answer shape. Triggers fire in order, so that means neither answer is selected when the Submit Pick One trigger runs. 

    Just move the Submit Pick One trigger so it comes last, and it'll work.

    By the way, you could delete one of the triggers if you add an Else statement: 

    To the user, it doesn't really matter if you use two triggers or one trigger with an Else statement; the result is the same. But it can help prevent errors, since you only have to enter the conditions once.