C cnicolapc Active Member Licensed User Longtime User Mar 17, 2011 #1 Hi, I have a EditText field with this format (4'32) how can I limit input of only numbers and aphostrofe? (like an input mask)? Thank you Nicola
Hi, I have a EditText field with this format (4'32) how can I limit input of only numbers and aphostrofe? (like an input mask)? Thank you Nicola
Erel B4X founder Staff member Licensed User Longtime User Mar 18, 2011 #2 You should check the value of New string in TextChanged event. If it is not in the correct format set EditText.Text to the Old string. Upvote 0
You should check the value of New string in TextChanged event. If it is not in the correct format set EditText.Text to the Old string.