http://qs321.pair.com?node_id=11119993


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');