Numbers on the fly in edit_text type elements of dialog boxes

Contributor ,
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, How to, PDF forms

Views

49

Likes

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
Adobe Community Professional ,
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.

Likes

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
Contributor ,
Dec 03, 2019 Dec 03, 2019

Copy link to clipboard

Copied

LATEST

What a pity! Thanks for your answer.

Likes

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