Link to home
Start Free TrialLog in
Avatar of dgrafx
dgrafxFlag for United States of America

asked on

conditional validation using the jquery.validate plugin

Hello
I have a form with 3 inputs
zipcode
city
state

when the form is submitted
IF zipcode has a value then city & state are NOT required
IF zipcode does NOT have a value then city & state ARE required.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Kyle Hamilton
Kyle Hamilton
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dgrafx

ASKER

Thanks for the comment.
I'm sorry that I didn't have any time to look at it today.

I just asked another question as well:
https://www.experts-exchange.com/questions/27841805/compare-field-values-with-jquery.html

I will address them both on Monday and sorry again for the delay ...
Avatar of dgrafx

ASKER

sorry i forgot about this post ...