DEV Community

Discussion on: Tips For Validating HTML Form Inputs

Collapse
 
devhammed profile image
Hammed Oyedele

In case of unit testing, you can easily add novalidate attribute to the form element to bypass browser validation.

Collapse
 
lawrencejohnson profile image
Lawrence

I admit, I didn't know that. @nedy I think a brief note about the novalidate property would be a good addition to your article. Preferences aside, it's a great explanation of html5 validation.

Thread Thread
 
nedyudombat profile image
Nedy Udombat

Thank you @lawrencejohnson . I'll be sure to add that.