How to create non-exclusive checkboxes with the same name in Acrobat / PDF form

In Acrobat Professional, I create several flags and assign the same name to each flag, but with a different export value. However, the checkboxes seem to behave like radio buttons: Acrobat only allows me to check one of them. If the first is checked, and I click on the second, Acrobat cancels the first.

If I give the flags different names, they behave independently. However, this will make it easier for my code to fill out the form if the name can be the same. Is it possible to create non-exclusive flags (i.e. real flags) that have the same name in Acrobat?

(For reference, this is a PDF file that I created: 20110503-exclusive-checkboxes.pdf )

Same name, different export value

+4
source share
4 answers

Judging by the PDF reference, it is not possible to create independent flags with the same name.

In fact, the PDF viewer should use this name to determine which check boxes the check box will contain.

For more information, see Adobe PDF Reference , 8.6.3 Field types, check boxes (p. 648).

+5
source

Use the same export name and value for all of your flags, and they will be checked / unchecked together. Adobe Acrobat supports this, it is also allowed by the PDF specification.

+1
source

Unable to execute.

This is the very definition of how you define radio groups in a PDF.

You can have different flags "foo.MyCheck", "bar.MyCheck", etc., and all these are different fields. Different parent fields can have children with the same local name, but with different full names. No problem.

What are you trying to do?

+1
source

Adobe Acrobat versions 8.9 and X allow you to create non-exclusive flags. Although this allows the creation of non-exclusive flags, Orbeon does not recognize these fields.

Once you create the initial checkbox,

Right-click this check box and select "Place multiple fields ..."

http://i.stack.imgur.com/ASj3Q.png

In the Create Multiple Dialogs dialog box, change the number of required fields (down / width) http://i.stack.imgur.com/gYOoU.png

Then select other checkbox properties to change the export values.

0
source

All Articles