itextsharp PDF populate checkbox

ITsolutionWizard
ITsolutionWizard used Ask the Experts™
on
I use itextsharp c# to populate value to pdf. The textbox is populated accordingly except the checkbox. And I do not know how to make the checkbox (Checked).

Just FYI. the checkbox export value is "Yes" on PDF document that I use.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT Systems Analyst
Commented:
If you have the correct string value for the checkbox, have you tried adding "Yes" to the box like so:
form.SetField("box1","Yes");

Open in new window


You can also try with "True" or "checkboxstates[1]" to see if it will work.

Author

Commented:
tried it still not working

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial