http://qs1969.pair.com?node_id=1202056

Arik123 has asked for the wisdom of the Perl Monks concerning the following question:

Hi, Monks! I want to create a PDF in Perl. I start with a template PDF, but want to alter the values of the form fields, as well as add some new form fields (ListBoxes or ComboBoxes). The first task is easy - CAM::PDF can read the template, change the values of the fields, and save the result. But I didn't find a way to add a new ListBox or ComboBox. The newly-added field should be invisible (hidden). Its values will be availabe to some JavaScript which will be run once the user opens the file. How do I do that in Perl? Thanks a lot!