Variable-based Trigger Non-functional (Numeric Entry fields omitted by trigger)

Apr 09, 2024

Hello!

I have a few fields (3 text entries and 2 numeric entries), which the user must fill, to get to the layer named "Success"; else they will be shown an error.

Following is the trigger I used:

Show layer Error

       When the user clicks "Button 1"

               If NumericEntry = value 0 (zero)

              or If NumericEntry1 = value 0 (zero)

              or If TextEntry = value (blank)

              or If TextEntry1 = value (blank)

              or If TextEntry2 = value (blank)

                    Else Show layer Success

The issue is, when I preview this course, the "Success" layer is shown, even though the numeric entry fields are left blank.

I have attached the storyline file herewith.

Any help in this would be appreciated.

Also, can the following trigger be used to make sure that one of the Numeric Entry fields has exactly a ten-digit number?

or If NumericEntry1 = value > 1000000000

or If NumericEntry1 = value < 9999999999

Appreciate it!!!

2 Replies
Anil Krishnaraj

Fount 2 ideas:

1) https://community.articulate.com/discussions/articulate-storyline/trigger-when-numeric-entry-is-blank

2) The field to be used on the screen is a Numeric field; But the variable it is connected to, is a Text Variable. The trigger uses "is not equal to (blank)" instead of "is not equal to 0".

Thank you!