Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Create duplicate checkbox form fields with different export values

Question
Is it possible to create a PDF that has multiple checkbox form fields which have the same name but different export values?
Answer

It is possible to create checkbox form fields which have the same name and as a result become duplicate form fields (updating one updates them all), but it is not possible to have duplicate form fields with different export values.

When a duplicate form field is created what actually happens is that a parent form field is created which has two kid form fields. These kid form fields are linked via the parent form field. The two kid form fields are visible, but the parent form field is not visible.

Note: if you want duplicate form field behavior then the form fields must share the same name and same export value. If the names are the same but the export values are different then the checkbox form fields will behave as radiobuttons (selecting one checkbox will deselect the previously selected checkbox) and indeed the GetFormFieldType function will identify the form fields as radiobutton form fields.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum