HTML5 Form Custom Validation Message Using setcustomvalidity()
Posted on 2014-01-23
Newbie to HTML5 forms.
Trying to change the validation messages.
I have been reading all over the net that you can change the messages by using a "setcustomvalidity()" function, or something, but... I can't figure out how to use it.
1. Do I have to apply the "setcustomvalidity()" function to every "required" form field?
2. What is a simple, working example of maybe 2 or 3 fields of how to implement this?