Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: multiple inputs on form with same name

by pitbull3000 (Beadle)
on Oct 16, 2001 at 18:22 UTC ( [id://119131]=note: print w/replies, xml ) Need Help??


in reply to multiple inputs on form with same name

AFAIK when you have a form with multiple fields with the same name, you will get an array, in your case with 4 entrys. try to get your entrys with
my $query = new CGI; my @formfields = $query->param('17cardnumber'); my $entryOne = $formfields[0]; my $entryTwo = $formfields[1]; my $entryThree = $formfields[2]; my $entryFour = $formfields[3];

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://119131]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-19 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found