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
Post a Comment