How can I check the checkboxes in Aspose.PDF.Form

Hi again,

In my PDF template I have named 2 checkboxes as -

1. ClientRegisteredForGSTYes
2. ClientRegisteredForGSTNo

Eariler I was passing the values as -

form.fill(“ClientRegisteredForGSTYes”,“True”)
form.fill(“ClientRegisteredForGSTNo”,“False”)

but it didnt work, and I changed my code to -

form.fill(“ClientRegisteredForGSTYes”,“chkItem1”)

But still the checkbox is not getting ticked.

Am i missing some code?

Please guide asap.

Thanks
Vikas

Dear vika,

Thanks for considering Aspose.Pdf.Form.

Please check the export value of the checkBox which is defined when it is created.

Please read the wiki Fill Form about how to fill the checkBox.

Best regards.