Forum Discussion

CaitlinMoir's avatar
CaitlinMoir
Community Member
8 months ago

How to create If TextEntry = value(any and all text is acceptable)

Hi there.

I'm trying to create a scenario where learners are asked to enter text as a reply to a question. I've created a text entry field input box and a submit button, and I want to set the trigger of the submit button to move onto the next slide IF the learner types any text. So the text entry is completely non-specific. Is there a way of doing this?

  • On your Submit button that jumps to the next slide, add a condition that the value of the text-entry variable is not blank. That would look something like this: 

    This is demonstrated in the attached file. 

    Note: My example trigger includes an "Else" statement. If the text-entry variable is blank, it will show a layer with a message telling the user they must enter something in the text field.