• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Numbers on the fly in edit_text type elements of dialog boxes

Community Expert ,
Dec 03, 2019 Dec 03, 2019

Copy link to clipboard

Copied

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.

TOPICS
Acrobat SDK and JavaScript

Views

272

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2019 Dec 03, 2019

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2019 Dec 03, 2019

Copy link to clipboard

Copied

LATEST

What a pity! Thanks for your answer.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines