[jQuery] [validate] Required on Fields Matching Criteria

[jQuery] [validate] Required on Fields Matching Criteria


Hi guys,
Is it possible for the validator component to make exactly one field
within a chosen set required?
<input type="text" id="input1" class="my-group"/>
<input type="text id="input2" class="my-group"/>
If either input has a value, then validation succeeds. If neither
input has a value, then both fields should be marked as failed with
preferably a message next to them.
Thanks,
Mihai