Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 65273 invoked from network); 14 Jul 2004 18:31:38 -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:31:38 -0000 Received: (qmail 93348 invoked by uid 500); 14 Jul 2004 18:31:24 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 93307 invoked by uid 500); 14 Jul 2004 18:31:23 -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 93292 invoked by uid 99); 14 Jul 2004 18:31:23 -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.20040714113118.008e4980@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:31:18 -0700 To: modperl@perl.apache.org From: David Arnold Subject: Check boxes on and off 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 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