Skip to main content
Inspiring
December 3, 2018
解決済み

Programmatically set field to numeric format

  • December 3, 2018
  • 返信数 1.
  • 851 ビュー

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.

このトピックへの返信は締め切られました。
解決に役立った回答 Bernd Alheit

Read this:

https://acrobatusers.com/forum/javascript/setting-number-format-text-field/

返信数 1

Bernd Alheit
Community Expert
Bernd AlheitCommunity Expert解決!
Community Expert
December 3, 2018
ODuinn作成者
Inspiring
December 4, 2018

Awesome. Thank you.