Re: CGI FORM action

[email protected] (Gunnar Hjalmarsson)
Newsgroups perl.beginners
Message-ID <[email protected]>
ken uhl wrote:
> my Forms are not "acting" nicely, page to page flow is not correct, 
> Page one prompts for search criteria:
> ...
> $scriptname  = $q->script_name();
> ...
> <FORM METHOD="post" ACTION="${scriptname}">
> ...
> <INPUT TYPE=submit  NAME="select"  VALUE="Select Record(s) to Delete">
> .... The submit button goes nicely to second page results.
> 
> Second page :
> ...
> $scriptname  = $q->script_name();
> ...
> <FORM METHOD="post" ACTION="${scriptname}">
> ...
> <INPUT TYPE="submit" VALUE="bulk_delete" NAME="Bulk Deleter" >

Could the problem possibly be that you mixed up NAME and VALUE?

> This goes back to page one. 
> I want it to continue - checking page params - specifically to retrieve 
> selected check boxes,
> but  It does not progress.

Where is the code for controlling the page to page flow?

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.