
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.
Now right click or go to patterns dailog form object palettes.
Below dailog is appear, select num.currency{} option.
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";
Now execute,
This way we can set currency symbol using locale code.
Click to get List of Locale Codes.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 |