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

Number to text

New Here ,
Jul 18, 2017 Jul 18, 2017

How to convert number to text on another field

TOPICS
Acrobat SDK and JavaScript , Windows
327
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
Community Expert ,
Jul 18, 2017 Jul 18, 2017

Do you mean 12 to "twelve" for example?

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
New Here ,
Jul 19, 2017 Jul 19, 2017

Yes

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
Community Expert ,
Jul 19, 2017 Jul 19, 2017
LATEST

An old version of the Acrobat SDK had an example for that, but unless you have that version (I think it was back in the days of Acrobat 4), you won't be able to download that anymore. However, you can use any JavaScript implementation of this feature that only uses core language features. Take for example a look at this Stack Overflow discussion: JavaScript numbers to Words - Stack Overflow

I would recommend that you save the "number to words" functionality in a document level script and then call it from your field's custom calculation script.

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