Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7092133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T08:16:31+00:00 2026-05-28T08:16:31+00:00

I have set up jQuery validation on a page using jQuery 1.7.1 as follows.

  • 0

I have set up jQuery validation on a page using jQuery 1.7.1 as follows.

<html>
<head>
    <script src="jquery-1.7.1.js" type="text/javascript"></script>
    <script src="jquery.validate-1.9.0.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#form1").validate();
        });
    </script>
</head>
<body>
    <form id="form1">
        <div>
            <p>
                <input id="form1input1" name="11" class="required" />
            </p>
            <p>
                <input id="form1input2" name="12" class="required email" />
            </p>

            <input type="submit" value="Validate form 1">
        </div>
    </form>
</body>
</html>

The fields are validated on submit of the form, but not on blur/keyup.

If I swap out jQuery 1.7.1 for jQuery 1.3.2 then the plugin works as documented with validations on blur/keyup.

Is this a compatibility issue? I can’t find any bugs/open tickets in the GitHub issue tracker https://github.com/jzaefferer/jquery-validation

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T08:16:32+00:00Added an answer on May 28, 2026 at 8:16 am

    With this combination, you must specify the typeattribute on the input:

    <form id="form1">
        <div>
            <p>
                <input id="form1input1" name="11" class="required" type="text" />
            </p>
            <p>
                <input id="form1input2" name="12" class="required email" type="text" />
            </p>
    
            <input type="submit" value="Validate form 1">
        </div>
    </form>
    

    Example: http://jsfiddle.net/5au9m/

    The plugin author (Jörn Zaefferer) suggests this is actually due to a change that happened in jQuery:

    Afaik this works fine as long as your inputs have a type attribute. While inputs without a type attribute default to text, jQuery doesn’t think so and ignores them. That was the problem on the demos, see 5f4a3a5 and 9050de7.

    Let me know if thats also the issue you’re seeing.

    Source: Issue filed on github.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using jQuery validation to validate a form with a radio button set on
Say I have the following validation (using jQuery validation plugin) set up, var validator
I'm getting more into jQuery and so have set up a HTML/Javascript/CSS base site
I have a set of divs that I want to make collapsible/expandable using jQuery's
I have some jquery/php interaction set up on a page. It submits some data
I have a JQuery silder that I'm using to set the score on a
i have a jquery form validation in the master page and it works fine
I am using the jQuery validation plugin on my form. I set the basic
I have a page in which a set of text boxes are created based
In my Layout page, i have the following links to the validation Javascript files,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.