[jQuery] validate : dependency based expression to check for a filled field
I'm trying to use the dependency to make a field required only if a
field is filled.
I tried
phone3:{required: "#phone1.val().length > 1", rangelength:[3,3],
digits:true},
but this did not seem to work. Any ideas?
thanks