Hello.
I would be most grateful if anyone could shed some light on this issue as I have spent hours and hours on it, as well as combing through forums. I'm sure it has a very simple solution but I haven't solved it!
I had written VBA code that successfully populated an IRS form (1095c 2015) from Excel data. This included form fields that excepted text and numerical data as well as checkboxes.
e.g.
The form field with name: "topmostSubform[0].Page1[0].EmployeeName[0].f1_002[0]" is given a value for the employee's name, such as "John Smith"
The form field with name: "topmostSubform[0].Page1[0].Line17[0].c1_011[0]" is a checkbox which is given a value of "1" or "0"
However, when trying to perform the same task on the 2016 version of the same form, it is not allowing me to populate any of the checkboxes, although I can still populate the other fields with no problem. Some of the form names are slightly different in the 2016 version, but my code has been updated to reflect this.
So, if I now try to populate the same field names shown above (which exist in the 2016 version with the exact same names):
The form field with name: "topmostSubform[0].Page1[0].EmployeeName[0].f1_002[0]" populates fine, just as it did before.
However the checkbox form field with name: "topmostSubform[0].Page1[0].Line17[0].c1_011[0]" no longer populates, nor does any other checkbox.
The 2016 checkboxes still accept "1" and "0" as valid inputs (as I can read the field values from a PDF form that I fill in manually) yet I can not get them to accept the data when filled via the VBA code. I'm not too experienced with PDF forms but it seems there is ultimately something different from the checkboxes in the 2016 form from the 2015 form.
Any help or advice would be MUCH appreciated! Thank you!
------------------------------------------------------------------------------
1095c 2015 PDF: https://www.irs.gov/pub/irs-prior/f1095c--2015.pdf
1095c 2016 PDF: https://www.irs.gov/pub/irs-pdf/f1095c.pdf
PDFTK Data Dump of checkbox field "topmostSubform[0].Page1[0].Line17[0].c1_011[0]" when unchecked:
2015:
---
FieldType: Button
FieldName: topmostSubform[0].Page1[0].Line17[0].c1_011[0]
FieldFlags: 0
FieldJustification: Left
FieldStateOption: 1
FieldStateOption: Off
---
2016:
---
FieldType: Button
FieldName: topmostSubform[0].Page1[0].Line17[0].c1_011[0]
FieldFlags: 0
FieldJustification: Left
FieldStateOption: 1
FieldStateOption: Off
---
Windows 10
Office 365
NB: Title is ambiguous: The Issue didn't exist on the previous form (but the checkboxes did!)
Bookmarks