"Either/or" dual-form field validation

admin

Administrator
Staff member
Seeking simple JS for validating dual formfield combinations. For example, if either an "email" radio button or a "phone" radio button is checked, then there must be a corresponding entry in either an "email" or "phone" text field.
 
Top