hominid4
Member
The form on the below page has several AJAX calculation elements and there is a "Quantity". All works as we need except if a comma is entered in the "Quantity" it doesn't take into account any numbers after the comma. Such as 5 and 5,000 returns the same Total.
http://www.lithoninja.com/requests/comic-print/form/1.html
How would it be possible to disallow entering a comma, or any other character besides a number for that matter, so that 5,000 becomes 5000 during the AJAX calculations?
That element is a field element:
Eval: Yes
Default: return 1;
Auto Complete: Yes
Format: Integer
Number Format: No
Thanks!
http://www.lithoninja.com/requests/comic-print/form/1.html
How would it be possible to disallow entering a comma, or any other character besides a number for that matter, so that 5,000 becomes 5000 during the AJAX calculations?
That element is a field element:
Eval: Yes
Default: return 1;
Auto Complete: Yes
Format: Integer
Number Format: No
Thanks!