Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Using CAM::PDF to change a form value

by gwhite (Friar)
on Aug 27, 2007 at 18:58 UTC ( [id://635384]=note: print w/replies, xml ) Need Help??


in reply to Re: Using CAM::PDF to change a form value
in thread Using CAM::PDF to change a form value

Extremely basic code
#!/usr/bin/perl use strict; use CAM::PDF; my $pdf = CAM::PDF->new('input-form.pdf'); $pdf->fillFormFields( 'site' => 'newsitename'); $pdf->cleanoutput('changed-form.pdf'); print "Done\n";
g_White

Replies are listed 'Best First'.
Re^3: Using CAM::PDF to change a form value
by starX (Chaplain) on Aug 27, 2007 at 21:14 UTC
    Out of curiosity, have you tried calling output() separately?
Re^3: Using CAM::PDF to change a form value
by bonzo (Novice) on Feb 14, 2008 at 17:10 UTC
    g_White, Did you figure out a solution? My form fields are supposed to be visible. I can open the new/modified/updated pdf in Adobe. I have to click on the field for the field data to become visible. I can also print out the form fields via printer options, but printing the whole document the updated/modified fields are always blank. The fields that have not been modified are fine and show up accordingly.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://635384]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2025-12-10 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (90 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.