Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


If one check box is checked, a specific one cannot be checked OR others related to it can be checked

New Here ,
Jun 09, 2021 Jun 09, 2021

Copy link to clipboard

Copied

I'm creating a form where people can choose option A or option B. However, if option A is chosen then option B cannot be chosen (and vice versa). Also, if option A is chosen, there are several other sub-options that can be selected as well. If option B is chosen, these sub-options can't be selected.

i.e.: If they choose option A, they cannot choose option B but they can choose options C and/or D and/or E and/or F and/or G etc. If they choose option B, they cannot choose option A or any other option.

 

How do I do this? Please keep answers as simple as possible! Thank you.

TOPICS
How to

Views

162

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Jun 09, 2021 Jun 09, 2021

Copy link to clipboard

Copied

This is the Using the Community forum (which is the forum for issues using the forums).

Please tell us what Adobe application you are using so that this can be moved to the proper forum for help.

Likes

Translate

Translate

Report

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
New Here ,
Jun 09, 2021 Jun 09, 2021

Copy link to clipboard

Copied

Adobe Acrobat Pro

 

Moved from Using the Community (which is about the forums) to the correct forum... Mod
To ask in the forum for your program please start at https://community.adobe.com/

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Jun 09, 2021 Jun 09, 2021

Copy link to clipboard

Copied

LATEST

First, if you want mutually exclusive selections, then use either a Radiobutton group or a dropdown list, or give your checkboxes the same name and different export values. Both provide the user with a set of selections of which they can only choose one. 

You can read more about this in Radiobuttons and checkboxes here:

https://www.pdfscripting.com/public/Checkboxes-and-Radio-Buttons.cfm

 

Sub-options are more complex and usually require scripting. 

 

Thats the end of the simple answers. It gets more complex and requires developing some skills beyond this point. 

 

  

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

Likes

Translate

Translate

Report

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