on 08-26-2014 2:29 PM
I have a field with "zzz,zzz.99" but I need to display it like "zzz,zzz,z99".
Example, from 13,125.00 to 1,312,500.
Please help me!
Any ideas are valuable for me.
Thanks all! In conclusion I used this:
data. ... :initialize - (FormCalc, client)
$ = Floor($ * 100)
$ = Format("z,zzz,zzz,zz9", $)
Field Format: Text field.
Helpful links:
LiveCycle ES2 * Adobe LiveCycle Designer ES2
http://help.adobe.com/en_US/livecycle/9.0/FormCalc.pdf
http://partners.adobe.com/public/developer/en/xml/formcalc_2.0.pdf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
i`v done some complex scenario with java script, if you are using standard backend and your field is directly connected to Screen Fields then changing type of field may cause some problems due to nonconformity of field value and screen field, some data are different in display mode of Screens and database view, for interactive form scenario you can do this with javascript.
var str = "Mr Blue has a blue house and a blue car";
var res = str.replace(/blue/g, "red");
The result of res will be:
Mr Blue has a red house and a red car
Also refer to Adobe forum, you can try this:
this.rawValue = this.rawValue.replace(/ü/,"ue")
find your solution here:
https://forums.adobe.com/thread/418751?tstart=0
like this if you think this is helpful,
Ali,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The decimal display is based on current user settings,change the settings and probably you will get the desired result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.