Issue Populating PDF Checkbox via VBA that didn't Exist on Previous Form


hello.

 

i grateful if shed light on issue have spent hours , hours on it, combing through forums. i'm sure has simple solution haven't solved it!

 

i had written vba code populated irs form (1095c 2015) excel data. included form fields excepted text , numerical data checkboxes.

 

e.g.

the form field name: "topmostsubform[0].page1[0].employeename[0].f1_002[0]" given value employee's name, such "john smith"

the form field name: "topmostsubform[0].page1[0].line17[0].c1_011[0]" checkbox given value of "1" or "0"

 

however, when trying perform same task on 2016 version of same form, not allowing me populate of checkboxes, although can still populate other fields no problem. of form names different in 2016 version, code has been updated reflect this.

 

so, if try populate same field names shown above (which exist in 2016 version exact same names):

the form field name: "topmostsubform[0].page1[0].employeename[0].f1_002[0]" populates fine, did before.

however checkbox form field name: "topmostsubform[0].page1[0].line17[0].c1_011[0]" no longer populates, nor other checkbox.

 

the 2016 checkboxes still accept "1" , "0" valid inputs (as can read field values pdf form fill in manually) yet can not them accept data when filled via vba code. i'm not experienced pdf forms seems there different checkboxes in 2016 form 2015 form.

 

any or advice 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

---

try forum livecycle designer.



More discussions in PDF Forms


adobe

Comments

Popular posts from this blog

shape alpha vs layer alpha in cc library

Photoshop CC 2017 - Ruler Tool - Error 8007...