A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/html/html-formnovalidate-attribute/ below:

HTML formnovalidate Attribute - GeeksforGeeks

HTML formnovalidate Attribute

Last Updated : 23 Jul, 2025

The HTML  formnovalidate Attribute  is used in <input> and <button> element. This attribute is used to defines that the form data must not be validated before the data sent to the server. It is a Boolean attribute that overrides the feature of novalidate attribute of the <form> Tag. It is a Boolean attribute that indicates that if it is set it means that the form should not be validated when submitting the form otherwise it must be validated. 

Use: It is used to bypass the bypass validation process so that the user can easily save the progress of form filling without any hurdles. 

Supported Tags: 

Syntax

<element formnovalidate>

 Example: Below code illustrates the formNoValidate Attribute with <button> element.  

HTML
<!DOCTYPE html>
<html>

<head>
    <title>
        HTML  formNoValidate Attribute
    </title>
</head>

<body style="text-align:center;">
    <h1>
        GeeksForGeeks
    </h1>

    <h2>
        HTML  formNoValidate Attribute
    </h2>

    <form action="#"
        method="get"
        target="_self">
        Name:
        <input type="text">
        <br> Password:
        <input type="password">
        <br>
        <br>
        <button type="submit"
                id="Geeks"
                name="myGeeks"
                value="Submit @ geeksforgeeks"
                formTarget="_blank"
                Formnovalidate>
            Submit without Validation
        </button>
        <br>
        <br>
        <button type="submit">
        Submit with validation
    </button>
    </form>

</body>

</html>

Output 

Supported Browsers: 



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4