Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Filling PDF Form Checkboxes

by Anonymous Monk
on Jul 29, 2020 at 15:12 UTC ( #11119993=note: print w/replies, xml ) Need Help??


in reply to Re: Filling PDF Form Checkboxes
in thread Filling PDF Form Checkboxes

I have used following improved code to mark my checkbox in pdf

#!/usr/bin/perl -w  use strict; use CAM::PDF;  my $pdf = CAM::PDF->new('tenant.pdf') or die "Could not open PDF ($!)!";  $pdf->getFormFieldList();  my $field ="Female";  my $ff_obj    = $pdf->getFormField($field);        $ff_obj->{value}->{value}->{AS}->{value} = "On";   $pdf->cleanoutput('afilled.pdf');

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2021-01-19 15:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?