in reply to Get data from pdf form
If you data dump the objects you might be able to find the data. Try
pojuse strict; use warnings; use Data::Dump 'pp'; use CAM::PDF; my $pdf = CAM::PDF->new('file.pdf'); my @formfields = $pdf->getFormFieldList(); foreach (@formfields){ my $obj = $pdf->getFormField($_); #pp $obj; printf "%s = %s\n",$_,$obj->{value}{value}{V}{value}; }
|
|---|