Fill in existing PDF form with radio button using POST data from HTML form and available PHP class -
i have pdf form want fill in post data sent php script html form. have used pdftk in past, server application not have pdftk installed, , admins refuse add server. since server shared hosting plan, cannot install software. these reasons thought 1 of available php classes job, since class not need "installed' server operating system.
i found numerous posts using fpdf fill in pdf forms, in each of articles, seemed fpdm class being used. such, did not try learn fpdp. if mistake, perhaps let me know/ point me in right direction.
fpdm seem job, when tried out, although text fields filled in properly, radio buttons in pdf not filled in. in fact, error generated if left radio button id in data array being provided fpdm.
in 1 post, user "wizard" indicated solved problem writing custom code, did not share approach or code. compared pdf file unchecked radio group, , 1 yes , no checked. thought perhaps create hack, files different, radio button id in multiple places, , lots of length changes, , numerous non text differences. assessment without lot of additional information, not going possible route.
by way, in order use fpdm, pdf form (at least 1 created using adobe arcrobat), has first run through pdftk make file format compatible fpdm.
Comments
Post a Comment