Text input validation

how-to
excel
composer

#1

Hi there,

I am trying to build a quiz in my composer. So far I have managed to have multiple questions, and clicable answers. On the other hand, at some point the user has to type precise answers in a text input such as “What is written on the building in front of you ?” and the user has to type “lorem ipsum” for example and if it’s the right answer something like “well done !” should appear to validate the answer… I have been working on this for the past two days, I’ve looked everywhere on the website, went through all the tutorials and I have found nothing to help me out.
Does anyone know how I can acheive this ? Do I have to use an excel file even if there is only one answer possible ? Also it would be better if the input was case sensitve. Anyway, I hope someone out there has an answer for this issue…
Thanks !


#2

Looks like you could use Conditonnal Triggers for this.

When the entered text is correct, you would use something like this:

and when the text does not equal the desired text:

More on Conditionnal Triggers here: http://support.intuilab.com/kb/triggers-and-actions/conditional-triggers

Let me know if this helps.

Chloé


#3

YES ! Absolutely perfect, thank you :slight_smile: !!!