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

Change format in multiple fields to currency in Adobe Acrobat

New Here ,
Apr 15, 2018 Apr 15, 2018

Copy link to clipboard

Copied

Hello everyone,

I have no JavaScript knowledge so I need your help.

I have a form with multiple fields (they where auto-generated when I had Acrobat detect the fields so the names vary but they should all have the same properties).

I would like to change the format to currency ( "0.10" should be "$ 0.10").

Could you please advise on the JavaScript code I need to use?

I tried to google some solutions but nothing seemed to work.

Your help would be greatly appreciated

TOPICS
Acrobat SDK and JavaScript , Windows

Views

851

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
LEGEND ,
Apr 15, 2018 Apr 15, 2018

Copy link to clipboard

Copied

See Field Format Properties post.for a starting place.

Format Multiple Fields

Both links assume you have some basic skill with Acrobat JavaScript.

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
New Here ,
Apr 16, 2018 Apr 16, 2018

Copy link to clipboard

Copied

LATEST

Thank you for your reply.

I tried to follow the instructions from the links you sent me but it didn't work.

Unfortunately, I do not have any knowledge of JavaScript so I'm not sure how to edit the examples you provided me.

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
Community Expert ,
Apr 15, 2018 Apr 15, 2018

Copy link to clipboard

Copied

If you're interested in a tool that will allow you to do it quickly and without having to write any code yourself, check out this one I've developed exactly for this purpose: Custom-made Adobe Scripts: Acrobat -- Apply Format to Multiple Text Fields

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