Skip to Content
Author's profile photo Prajesh Desai

Dynamic Currency Symbol With Patterns for Adobe Forms

This is one of the common requirements for international companies. They are using same forms in diff diff countries and currency symbol is different for all of them.

Now if we are printing form in India so we need ‘RS’ as currency symbol, suppose we are printing same form in US then we need ‘$’ to be printed.

Hands On:

I’m having one Numeric Field with some integer value ex. 123.

Untitled.png

Now right click or go to patterns dailog form object palettes.

Untitled.png

Below dailog is appear, select num.currency{} option.

Untitled.png

My ADS is installed in india, so it displaying ‘Rs.’ by default.

Now use below script to change symbol at runtime,

data.Page1.NumericField1::initialize – (JavaScript, client)

this.locale= “en_GB”;

Untitled.png

Now execute,

Untitled.png

This way we can set currency symbol using locale code.


Click to get List of Locale Codes.

Hope this helps.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.