HOW TO AVOID DECIMALS IN TEXT FIELD
In a text field I only want to put integers
I would like to avoid putting
the dot (.)
symbol (+)
symbol (-)
HOW TO AVOID DECIMALS IN TEXT FIELD
In a text field I only want to put integers
I would like to avoid putting
the dot (.)
symbol (+)
symbol (-)
See here, posted 2 hours ago:
this block does not prevent you from writing
but if you delete it
but it doesn't work for me with the (+) symbol
Try to use this guide from that topic and this is very simple for the new beginner users.
Have you set the textbox to numbersOnly?
Use this procedure below :
If you want to make readOnly Textbox on error(Not Whole Number) use above readOnly Textbox to true.
Also can do with Enabled to false.
If you want to hide keyboard use this
yes
Then how are you typing in a +
? It is not available on my number keyboard on my devices.
I am working on an android emulator on a desktop pc
It should not make any difference, that keyboard screenshot was from my emulator, Genymotion.
Test on a real device.
I am using the physical keyboard of the PC
Me too
Was you used this method?
What is the problem tell me?
the cursor goes back
or go to the next text field
does not write other numbers
simulate the sent block
Remove the block for it MoveCursorToEnd
sorry I had the number pad locked
this block model is good for pc keyboard and android keyboard
This model is also good but it is only for Android keyboard where the (+) symbol does not appear.
but what I was looking for was for both
ok