I haven't tested this to be absolutely sure, but you could use a trigger to change the value of the variable (say var x) to 0 when variable var x changes, if var x is < 0 or var x is > 9.
You can also include additional triggers to notify about the "validation check" in the form of : Change state of Caption "invalid number" to Normal when variable var x changes, if var x is 0, and Change state of Caption "invalid number" to Hidden when variable var x changes, if var x is not 0.
2 Replies
Hi Salim - Have a look at similar thread
https://community.articulate.com/discussions/articulate-storyline/numeric-entry-restrict
I haven't tested this to be absolutely sure, but you could use a trigger to change the value of the variable (say var x) to 0 when variable var x changes, if var x is < 0 or var x is > 9.
You can also include additional triggers to notify about the "validation check" in the form of : Change state of Caption "invalid number" to Normal when variable var x changes, if var x is 0, and Change state of Caption "invalid number" to Hidden when variable var x changes, if var x is not 0.
This discussion is closed. You can start a new discussion or contact Articulate Support.