jquery formvalidator

jquery formvalidator

Hi Guys,

Im having some issues using the formvalidator located here:  http://plugins.jquery.com/formvalidator/

In my form i have a couple fields. The fields are all validated using the form validator plugin. The fields however are shown based on previous selections. So for example if someone ticks a certain radio button a couple fields are shown. All fields even the ones that arent shown at this point are validated onblur. When the user clicks on the next step the validation is triggered and in this case it will check all the fields, even the ones that arent visible and thus not filled in, this will cause the validation to fail even though the user filled in the right fields.

The question is how can i go around this issue? My guess was to remove() the elements that shouldnt be validated so that it will only validate the fields necessary. Im not sure how to accomplish this though. Is any1 able to help me?

Thanks and if more information is needed please let me know.

Regards,
Rick