From fields - Can I mandate a format for phone and SS# ?
Posted: Fri Feb 07, 2014 10:38 pm
Is it possible in my html form to require that phone numbers be entered as ###-###-#### and SS#'s as ###-##-#### ?
I am fairly new to this and figured out how to use required and placeholder but neither demands the user enter these two fields in these formats.
Appreciate any help.
I am fairly new to this and figured out how to use required and placeholder but neither demands the user enter these two fields in these formats.
Appreciate any help.
Code: Select all
Home Ph:<strong> <input name="HomePhone" type="text" placeholder="XXX-XXX-XXXX" required/>
Social Security Number:
<input name="SocialSecurity" type="text" placeholder="XXX-XX-XXXX" />