How to make one of two fields required while keeping the option to multi select?
I have a fillable PDF where I'm trying to make required fields if certain actions are made. I can make several fields required if a check box is checked, but I'm struggling to figure out how to make one of two (or more) boxes required, but not all. The user should be able to select more than one so I can't do a radio button. However, if they choose at least one, the remaining options should no longer be required.
Example:
[ ] Check this box if you are having a great day. (If this box is checked, the following two fields become required.)
[ ] Hoke Poke (If this box is checked, the following check box is no longer required)
[ ] Red Light Green Light (If this box is checked, the preceeding check box is no longer required)
I'm using this.getField("chk1").required = event.target.value!="Off"; to make fields required if a checkbox is clicked (if that helps).
I've scoured the web and these forums and maybe I'm not searching the right thing, but I can't find what I'm looking for, thus I seek the communities help in this venture.
