You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by "Cameron B. Prince" <cp...@rideware.com> on 2003/07/24 17:47:16 UTC

Single Form - Multiple Destinations

Hi,

I have a page that has a form with multiple submit buttons. Two of the
buttons should and do only cause the page to refresh. The third button
however, needs to cause the browser to load a different page.

I'm doing somthing like this on another page with:

   $http_headers_out{'Location'} =
"http://$ENV{HTTP_HOST}$fdat{wwwbase}pages/$fdat{return_page}.html?id=$fdat{
id}";
   exit 301;

This works okay with a single argument, but the page i'm working on now has
as many as 100 inputs. How can I load the other page and maintain fdat so
the input data is available?

Thanks,
Cameron


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org