Posted on 2010-02-06 08:05:53.593136-08 by jdmccullough
Here is how to check CheckBoxes
Found via http://www.perlmonks.org/?node_id=747009

Relevant code from the article:
my $ff_obj = $pdf->getFormField(fieldName); $ff_obj->{value}->{value}->{AS}->{value} = checkThisBox() ? 'Yes' : 'Off';

I had to remove the '()'s on checkThisBox for Perl to run it but it works fine. Does anyone know how to select a radio button?
Thanks.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.