I have a hidden form field in a PDF file, that contains a default value (a site ID), so when the form is submitted via email the default value is passed. What I need to do is write a little program that will change the default value of the hidden field to a different site ID (of which I have a couple of hundred) and save the PDF file with a new name (so it can be emailed to all the users at that site). CAM::PDF is the only module that I have been succesful with in accessing form values, but the hidden form field is giving me trouble as it won't let me override the default value.
I read the file in successfully, grab the form field object, set the value, and save the PDF file. When I open the newly saved PDF file it is the old default value, not the new value. I can use the same process and set visible form fields and they work OK. Does anyone have any suggestions that might help me get over the hump with this issue?
In reply to Using CAM::PDF to change a form value by gwhite
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |