Skip to main content
bebarth
Community Expert
Community Expert
December 3, 2019
Question

Numbers on the fly in edit_text type elements of dialog boxes

  • December 3, 2019
  • 1 reply
  • 504 views

Hi,
I am creating a dialog box and I'ld like some edit_text type elements only accept numbers, and on the fly of course...
Is it possible to do that as we can do it with tetxt fields?

Thanks in advance for your answers.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
December 3, 2019

No. You can only validate the value of these fields once the user exits them, but you can't apply a "keystroke" type event to them.

bebarth
Community Expert
bebarthCommunity ExpertAuthor
Community Expert
December 3, 2019

What a pity! Thanks for your answer.