I am building a form, and I need to have an textbox where the user can enter prices or fees.
I have seen a form that can do what I am looking for, but I am not sure how to do it. What I am looking for, is by default, the textbox contains $0.00. As the user starts to type the number, it acts as follows: 12345678 starts as 0.01 > 0.12 > 1.23 > --- > $123,456.78
It needs to automatically add the commas where needed the and period for the cents only allowing 2 digits on the right side of the period.
It also need to BLOCK the ability to enter a non-numeric character other than the comma and period. So if the user were to type "a", instead of an "a" being displayed then suddenly removed, I don't even want to be able to see the "a".