Jquery Validation Plugin

Jquery Validation Plugin

Hi, I'm trying to use the "groups" option to validate several fields as a group. The form uses an unordered list for the form fields and i am placing the error class in the li tag. The only problem with that is if one of the fields passes the validation than the class is changed. So I tried to use some conditional logic with the valid() method to check if the field is valid hoping that I can use it on an individual field rather than the entire form. I want to know if there is a method or a way to check the state of a specific field whether or not it is valid or invalid. I read the docs, it's possible that I overlooked something. I tried $(field_selector).valid() && $(field_selector).valid() in a conditional block, but that kept crashing firefox.
 
Thank you in advance for your response(s)!
    • Topic Participants

    • 393