Number only field with min and max lengths
-
Hi – I am in need of a field type that ONLY allows numbers (0-9) and can be set to min and max lengths.
I have several fields on the same form that I need this for, such a zip code (exactly 5 digits only) and I have several phone number fields on the same form that need to be exactly 10 digits. Ironically the existing “number” and “tel” field types allows for letters and other characters and it also does not handle the maxlength attribute (I’ve tried).I’ve tried several scripts I found but none of them can do digits only AND min max lengths AND accommodate more than one field needing this.
Surely hoping someone out here must have figure this out? I can’t be the only one lol!
Thank you in advance for any help or guidance you can provide.
The page I need help with: [log in to see the link]
- The topic ‘Number only field with min and max lengths’ is closed to new replies.