Page 1 of 1

Integer Formatting.

Posted: Thu Apr 25, 2019 1:53 am
by azirol
Hi,
Can someone help me to define number.integer format in the dynaform.
I've half multiple field which require user to key the amount of the claim. i tried to make dynaform automatically change once user key in any number for example if they key in "50", dynaform convert to 50.00 or if 1200 = 1,200.00

i have a grid type and text type which calculate the total (please see attached). unfortunately the text file works fine but not for the "total" field in grid area. in grid if user put 1,200 it will convert to 1 in total field and shown 1.00 in text field.

its already been 1 month tried this but no luck.

Thanks.

Re: Integer Formatting.

Posted: Thu Apr 25, 2019 6:46 pm
by amosbatto
You can follow this example:
https://www.pmusers.com/index.php/Europ ... )_in_grids
At the bottom of the example, it explains how to change the JavaScript code to use numbers like 12,345.67.

These other examples also might help you:
https://www.pmusers.com/index.php/Refor ... sum_column
https://www.pmusers.com/index.php/Formu ... mn_summary