perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Howard" <>
Subject RE: Single Form - Multiple Destinations
Date Thu, 24 Jul 2003 15:55:47 GMT
Hi Cameron,

	My first instinct on this would be to a javascript onClick()
event on the button, which triggers a function that changes the form's
action attribute based on which button they clicked, then submit the
form.  The function would look something like:

function subform(destination){

	This is probably going to be much easier than futzing with http

Sean M. Howard, 
Managing System Engineer
1900 Vassar Street, Reno NV 89502
(775) 322-6455 x118

-----Original Message-----
From: Cameron B. Prince [] 
Sent: Thursday, July 24, 2003 8:47 AM
Subject: Single Form - Multiple Destinations


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'} =
   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?


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message