Forum Discussion
SimonPerkins
13 years agoCommunity Member
Can I prevent "NaN" from appearing in numerical entry?
Is there a way to do this? Am using conditions to handle which numbers ARE allowed and to display an error if invalid numbers are entered. But can't get it to stop letters etc from being entered/...
LeaCohen-53c0f2
Community Member
Another possible way to avoid nan is by using an execute JavaScript trigger after the setting the variable value:
This is the JavaScript code to run:
MichaelHinze
11 years agoCommunity Member
That's a nice one Lea. Javascript to the rescue (again)!