0
Engaged
,
/t5/acrobat-sdk-discussions/programmatically-set-field-to-numeric-format/td-p/10264769
Dec 03, 2018
Dec 03, 2018
Copy link to clipboard
Copied
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Community Expert
,
Dec 03, 2018
Dec 03, 2018
Community Expert
,
/t5/acrobat-sdk-discussions/programmatically-set-field-to-numeric-format/m-p/10264770#M80962
Dec 03, 2018
Dec 03, 2018
Copy link to clipboard
Copied
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
ODuinn
AUTHOR
Engaged
,
LATEST
/t5/acrobat-sdk-discussions/programmatically-set-field-to-numeric-format/m-p/10264771#M80963
Dec 03, 2018
Dec 03, 2018
Copy link to clipboard
Copied
Awesome. Thank you.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

