Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: form problem...

by Wonko the sane (Deacon)
on Feb 26, 2004 at 14:12 UTC ( [id://331993]=note: print w/replies, xml ) Need Help??


in reply to form problem...

Hello,

What you want to do is collect any previous movie selections
and pass them on to the form through hidden fields.

Something like this:

my $hidden_fields; $hidden_fields .= $cgi->hidden( $_, $in{$_} ) for ( grep { /dvdX/ } ke +ys %in );
Where %in is your hash if form vars retrieved from CGI->Vars.
Just print out the list of hidden fields as part of your form everytime.

Best Regards,
Wonko

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-23 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found