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

How do I make checking a box automatically checks off several boxes?

New Here ,
Jun 30, 2017 Jun 30, 2017

hi, I'm working on a form with several check boxes. There is a section in particular that I would like it to auto check a box in this way:

When Checkbox A, B and C are checked Checkbox D would automatically check and when checkbox D is checked Checkbox A, B and C would also auto check.

i found this code online but its only working for ONE box, tried to make adjustments to it but its not working. Any help would be appreciated. Thanks

var v = event.target.value;

var f = this.getField("Checkboxb");

f.value = v;

TOPICS
Acrobat SDK and JavaScript
223
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
no replies

Have something to add?

Join the conversation