Custom Format Script Help: X or $
I am trying to figure out how to go about writing a custom javascript format so that the form field allows for either a number with two decimal spaces or an "X" - these fields will later be calculated into a total. If i leave the field with no formatting then I do not get he comma formatting if the user enters a number over 999, and the user can input any letters rather than just X - and I need it to be limited to numbers or an X only.
If anyone has a source online that they have used that will help me write my own please let me know, otherwise any input would be much appreciated.
Thanks,
Kelley
