Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
150
rated 0 times [  155] [ 5]  / answers: 1 / hits: 7201  / 11 Years ago, wed, february 5, 2014, 12:00:00

I have input field and I use type email to open keyboard with necessary symbols on mobile devices.



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


But I don't need that browser validates it while submit. I didn't use required attirbute. But Chrome still says Please include an @ in the email address. on submit form. Is there any way to stop email validation on submit while using type=email?


More From » html

 Answers
6

while submitting form include novalidate attribute



For eg:



<form action=demo.html novalidate>
E-mail: <input autofocus= placeholder=E-mail type=email>
<input type=submit>
</form>

[#48050] Tuesday, February 4, 2014, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
keric

Total Points: 572
Total Questions: 93
Total Answers: 97

Location: Cyprus
Member since Mon, Oct 24, 2022
2 Years ago
;