- At least one field is required
- Only one field from multiple is required
- A field is required if other field is checked (non empty)
If there is no way, what would you recommend to do?
For the first case I use:
- Code: Select all
<input name="a" required="b,c">
<input name="b" required="a,c">
<inbut name="c" required="a,b">