Validating javascript text fields


08-Nov-2017 18:04

Currently, if you leave the captcha empty and submit the form, the field will be masked as invalid.

For example, if your form has a box for the user to type their email address, you might want your form handler to check that they've filled in their address before you deal with the rest of the form.

HTML5 defines a variety of new input types: sliders, number spinners, popup calendars, color choosers, autocompleting suggest boxes, and more.