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

Programmatically set field to numeric format

Engaged ,
Dec 03, 2018 Dec 03, 2018

I can change an Acrobat text field FROM the Acrobat 'Number' format TO the 'None' format with this script:

     var f = this.getField("num.SDebit.22");

       f.setAction('Format', "");

       f.setAction('Keystroke', "");

I would like to do the opposite: i.e. programmatically set an Acrobat text field format TO the number format and specify the number options available in the Format dialog box of text field properties .

Can this be done, and if so, how.

TOPICS
Acrobat SDK and JavaScript
686
Translate
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

correct answers 1 Correct answer

Community Expert , Dec 03, 2018 Dec 03, 2018
Translate
Community Expert ,
Dec 03, 2018 Dec 03, 2018
Translate
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
Engaged ,
Dec 03, 2018 Dec 03, 2018
LATEST

Awesome. Thank you.

Translate
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