I’m having an issue to update data to the field c1_01, c1_01, c1_01 which stands for “single”, “married” & “married, but…” checkbox on the 2015 W4 form. For some reason, I’m getting an error “c1_01 can’t be defined as global field & non-global field” when open up the pdf. do you have any advise?
Question 2, for the employee’s signature & date fields. how do you pre-fill values to it since they don’t have field names? As a reference, assign “signature” & “date” on 2013 W4 works well but not the 2015 form.
Document pdfDocument = new Document("c:/pdftest/fw4.pdf");
// get reference of checkbox field
CheckboxField check = pdfDocument.Form["topmostSubform.Page1.c1_01"] as CheckboxField;
//modify field value
check.Checked = true;
//save updated document
Thanks for your reply. I found the issue which is I had a old version of the aspose.dll which don’t have the checkboxfield class.
I have another issue with the “employee’s signature” & date fields. I don’t see there are fields name for those fields. is it possible that I can pre-fill the signature & date fields?
our issue tracking system. We will further look into the details of this
problem and will keep you updated on the status of correction. Please be
patient and spare us little time. We are sorry for this inconvenience.