Keyboard Input - Just Enter Numbers To Update An Integer
Hi All,
With the 'keyboard input' behaviour, is it possible to limit it to just numbers or letters?
I only ask, as I want to update an integer, and I guess it will break if someone was to enter text?
Thanks,
With the 'keyboard input' behaviour, is it possible to limit it to just numbers or letters?
I only ask, as I want to update an integer, and I guess it will break if someone was to enter text?
Thanks,
Best Answer
-
EatingMyHat Posts: 1,246
no, but you can move the text into an integer, if the integer is 0, it wasn't a number (or it was a '0').