I am trying to make PHP script to autofill PDF forms using FPDM, but when I fix one bug, another one pops up. I found out my form fields using this tool and made an array where each variable is named after the field name, but I get an error
FilterFlateDecode: invalid stream data.
The form that I am trying to fill has radio fields which have the same name, eg.
C R6.
C R6.
C R6.
C R6.
And I can't set 4 array fields to have the same name. Is that causing the problem? and if yes, how can I fix it? Should I just switch to a different library? Because this one is giving me a headache...
That is the FilterFlate file where the bug occurs (line 34) http://pastebin.com/qiEB9BWs