Neku80
Neku80

Reputation: 431

Remove the "please fill out this field" message in HTML5 validation

I have a tab system (hiding the other tabs) and I found the way to notify the user when he has an error in a different tab.

The only thing I need is to remove the message that appears on the top left of the page "Please fill out this field" because obviously it's not beautiful and it doesn't point to anything

screenshot of the popup I want to remove

Upvotes: 4

Views: 9518

Answers (1)

Sebastian Brosch
Sebastian Brosch

Reputation: 43594

You can disable the browser validation with novalidate like the following:

<form action="https://example.com" method="post" novalidate>
    <!-- content of the form -->
</form>

Upvotes: 7

Related Questions