Multiple Checkboxes - At Least One Checked Required


hello again.  last cry hope. 

 

i have 6 checkboxes.  need @ least 1 box checked option check all.  need required check @ least 1 out of group or form not submit.  understand need use different names each checkbox. 

 

i found post below after searching online cannot work. 

 

 

****************************************************************************************** **********

because checkboxes not mutually exclusive, set set of differently named fields. have determine event validate whether 1 of boxes checked.

 

the easiest way test whether value of field not "off". whole set of five, combine tests logical or (||).

 

this this:

 

if (this.getfield("mybox1").value != "off" || this.getfield("mybox2").value != "off" …)

 

****************************************************************************************** **********

 

thanks or online resources.  

 


still searching on if has guidance.

 

many thanks! 



More discussions in PDF Forms


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account