Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to group multiple check boxes?

Explorer ,
Mar 19, 2018 Mar 19, 2018

Capture.PNG

in above picture there are 5 categories.

i want each category as a separate group.

user can check all boxes in category. but he can choose any 1 category only.

if he select category 1 then he can check all 3 check boxes from that category.

if he checked category 2.. then category 1 will be unselected or unchecked.

help me..

TOPICS
PDF forms
2.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Mar 20, 2018 Mar 20, 2018

As the MouseUp event of the "category 1" fields, for example, you can enter this code:

if (event.target.value!="Off") this.resetForm(["category 2", "category 3"]);

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 20, 2018 Mar 20, 2018

As the MouseUp event of the "category 1" fields, for example, you can enter this code:

if (event.target.value!="Off") this.resetForm(["category 2", "category 3"]);

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 20, 2018 Mar 20, 2018
LATEST

See, checkboxes

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines