You have a live version of this, to see if it's the hidden params that are
filled.. that's what I think.
unless ($active) {
print hidden("name") if $name;
print hidden("address") if $address;
print hidden("city") if $city;
print hidden("state") if $state;
print hidden("zip") if $zip;
print hidden("phone") if $phone;
print hidden("email") if $email;
return;
}
reads the data again and adds to the data in the cells, but seeing a live
example would confirm.
And I'd change:
my @persons;
$persons[0]="Select";
$persons[1]="Prospective Student";
$persons[2]="Parent/Guardian";
$persons[3]="Relative";
$persons[4]="Other";
to:
my @persons = ("Select", "Prospective Student", "Parent/Guardian",
"Relative", "Other");
Etienne
Hab Adkins wrote:
> I am having a problem with a form I'm trying to use. It has a page
> where data is entered, a confirmation page, and from there the ability
> to go back and change or submit. The problem is that if a user goes
> back to the first page and then back to the confirmation page there are
> multiple values listed for each entry of the form (instead of just the
> most recent entry). I have attached the script and it is patterned
> after an example in the Perl Cookbook. How did I get rid of earlier
> values and just have the most recently-entered info?
>
> thanks,
> h
>
> P.S. I submitted this to the cgi-beginners list and have not gotten a
> response, which is why I thought I'd try my luck here.
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
S/MIME Cryptographic Signature