Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable / remove the default input type= "email" validation text overlay in Firefox + Chrome?

I currently have a e-mail field

<input type="email" placeholder="E-mail">

Upon submitting / if the field is empty or the email adress doesnt validate correct, a default validation overlay appears in Firefox + Crome.

Ive integrated my own styled validation, so currently its double on the validation for that.

Any suggestions?

like image 706
user1231561 Avatar asked Mar 24 '23 03:03

user1231561


1 Answers

You can add formnovalidate attribute to the submit input or novalidate attribute to the form that contains the input that you don't want to validate.

like image 125
Explosion Pills Avatar answered Apr 08 '23 06:04

Explosion Pills