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 8748967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:36:55+00:00 2026-06-13T12:36:55+00:00

I am running into a problem with jQuery Validation and need to ignore some

  • 0

I am running into a problem with jQuery Validation and need to ignore some fields.

I need to ignore fields based on a class that I set and then also all hidden fields. What I need to do is the following, but it is only honoring the second ignore. I am assuming there is a way to tell jQuery Validation these multiple selectors but I cannot seem to find it.

validator = $("#form1").validate({
    onsubmit: false,
    ignore: ".ignore",
    ignore: ":hidden",

Thanks,

Tim

  • 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-06-13T12:36:56+00:00Added an answer on June 13, 2026 at 12:36 pm

    From the validation documentation:

    jQuery’s not-method is used, therefore everything that is accepted by not() can be passed as this option.

    Therefore all you need to do is pass one parameter with your selectors separated by commas:

    validator = $("#form1").validate({
        onsubmit: false,
        ignore: ".ignore, :hidden"
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am running into a problem that i have a jquery modal popup in
I have a quick question with some jQuery where I'm running into a problem.
I'm working on a jquery plug in and I'm running into a problem saving
I'm running into a strange problem with testing an object's visibility with jQuery. I
I am running into a problem that just doesn't seem right. I've got a
I'm running into a problem with JQuery Mobile (new to me) and the AJAX-call.
I'm running into a problem using the jQuery Uploadify plugin in my cakePHP application.
I am running into this problem where my page loads and then after a
I love jQuery but am running into a problem with larger site and multiple
I am running into a problem trying to use AJAX and jQuery with ASP.NET

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.