Design comparison
SolutionDesign
Solution retrospective
I used JS setCustomValidity to disable tool tip for invalid form. Is there any pure css method too?
Community feedback
- @mbcod3Posted almost 5 years ago
I didnt add it because I am still using html5 validations. In case input is invalid only then I use custom validation and add classes to inputs to have that error text and exclaimation mark.
0 - @mattstuddertPosted almost 5 years ago
Great work on this challenge! You can add a
novalidate
attribute to theform
element if you would like to only use custom validation. So your openingform
tag would look like this:<form novalidate>
.Keep up the great work!
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord