perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Arnold <darn...@northcoast.com>
Subject Re: Check boxes on and off
Date Wed, 14 Jul 2004 18:42:02 GMT
Ooops! Sorry all, wrong address. My apologies.

At 11:31 AM 7/14/04 -0700, David Arnold wrote:
>Don, Bruce,
>
>I adjusted the pdf and cgi. Now, when the form first comes up, a couple of
>checkboxes are on. Then the cgi lights one up and turns one off.
>
>http://scinux.redwoods.edu/online_testing/GenerateFDF.pdf
>
>username: winnie
>password: thepooh
>
>The new cgi:
>
>#! /usr/local/bin/perl -w
># File: GenerateFDF.pl
>
>use strict;
>use Acrobat::FDF;
>
>my $outFdf = new Acrobat::FDF;
>
>$outFdf->SetFile('http://scinux.redwoods.edu/online_testing/GenerateFDF.pdf
');
>
>$outFdf->SetValue('Date', "June 11, 2001", false);
>$outFdf->SetValue('Name', "John Clay", false);
>$outFdf->SetValue('Address', "12 Saratoga Ave", false);
>$outFdf->SetValue('City', "Saratoga", false);
>$outFdf->SetValue('State', "CA", false);
>$outFdf->SetValue('cb.first',"Off",false);
>$outFdf->SetValue('cb.second','Yes',false);
>
>$| = 1; # autoflush, so that the HTTP header is emitted immediately
>
>print "Content-type: application/vnd.fdf\n\n";
>$outFdf->Save("-");
>
>
>-- 
>Report problems: http://perl.apache.org/bugs/
>Mail list info: http://perl.apache.org/maillist/modperl.html
>List etiquette: http://perl.apache.org/maillist/email-etiquette.html
>
>
>

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message