I have a cfform with a cfinput of type=text. The cfinput accepts salary values. How can I restrict it to accept only two decimal places?
I have tried mask, but it will only accpet two decimal places once the first part of the mask is satisfied. For instance, a mask of "99999.99" will work great for 12345.67 but will not accept 12.34. Similarly, a mask of "99.99" works for 12.34, but will not accept 12345.67.
Thank you in adavance,