Answered
Hello all,
I am trying to format numeric values using Javascript code.
For example,
I place the next code in an exit event of a determined field:
var vValue = formname.field.rawValue;
var vValue2 = formname.field.formattedValue;
console.println(vValue);
console.println(vValue2);
I fill the gap with "1234" and the result in console is:
vValue = 1234
vValue2 = 1.234
Is there any way to assign a determined format?
I am looking for to get 1.234 $ or 1.234 €, etc,... depending on the value of another field.
Thanks in advance.
Best regards,
Roberto
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs