We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Same name checkboxes

Does pdf.kit support mutually exclusive check boxes?

In this example I bind fdf to a pdf with two checkboxes of the same name. (aka. radio buttons) If I try to bind to the second occurance of the check box it fails to bind correctly. The field that failes to bind is named CPAP.

Here is the code...

form = new Form(inPdf, outPdf);

form.ImportFdf(fdf);

//form.FlattenAllFields();

form.Save();

Attached are the fdf, and pdf.

If you open the fdf directly and point it to the pdf it will bind.

-Tim

Dear Tim,

Thanks for considering our product!

Did you mean the two check boxes "CPAP / Auto CPAP (E0601) " and "Bi-Level / Auto Bi-Level (E0470)"? In fact, a group of check box with the same name acts as an radio box group.

We tested your code in our platform, and found that everything is OK. Please make sure that you are using the latest version of Kit. If you still have problem, please feel free to contact us.

Best regards.