Forum Discussion
SaeedChopdat
12 months agoCommunity Member
Blank field layer when Freeform Text entry field in blank
Hi experts,
New to storyline and would love some help.
I have created text entry fields and if the entry field is blank, I want it to show please complete this blank text field, layer
The tri...
JudyNollet
12 months agoSuper Hero
I'm sorry I misunderstood your original post. Thanks for clarifying that you want to show a warning if the user tries to continue without completing the field.
You can use a trigger condition to check whether the Text Entry variable is blank or not. That allows you to control what the user can do before and after they enter something in the field.
The trigger shown below provides an example. It's the standard trigger for the Next button, but with a condition and an else statement.
- The Condition checks whether the user entered something in the field, that is, if the TextEntry variable ≠(blank).
- If the variable ≠(blank), then the trigger jumps to the next slide.
- Otherwise (else), the trigger shows a layer with a warning that the field has to be completed.
Note that this trigger variation accomplishes the same thing:
For reference, here is the User Guide information about conditions and variables: