I have a single form that, depending on which radio button is clicked (Login or Signup), displays either:
or:
try this..
rules: { address: { required: { depends: function(element) { if (....){ return true;} else{ return false;} } } } }
credit from here.