Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 70774 invoked from network); 14 Jul 2004 18:42:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Jul 2004 18:42:39 -0000 Received: (qmail 17293 invoked by uid 500); 14 Jul 2004 18:42:05 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 17007 invoked by uid 500); 14 Jul 2004 18:42:03 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 16979 invoked by uid 99); 14 Jul 2004 18:42:03 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Message-Id: <3.0.5.32.20040714114202.008e3a90@mail.northcoast.com> X-Sender: darnold@mail.northcoast.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Wed, 14 Jul 2004 11:42:02 -0700 To: modperl@perl.apache.org From: David Arnold Subject: Re: Check boxes on and off In-Reply-To: <3.0.5.32.20040714113118.008e4980@mail.northcoast.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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