jquery validation based on radio button selection -
in form have 2 radio buttons(seller , buyer).same form fields both radio buttons. diffrence while click buyer radio button fields hide used javascript hide that. used jquery form validation.also used jquery validation hide fields. in seller mode form submitted sucessfully.in buyer mode while click submit button jquery validate hide fields. want stop validate in buyer mode. how that?
you can call validate
function different options in handler, switches buyer/seller mode. or can add/remove rules in handler
Comments
Post a Comment