[thelist] Form Submission (POST)

mary diamond mdiamond at mum.edu
Thu Jun 27 23:08:01 CDT 2002


--
[ Picked text/plain from multipart/alternative ]
Original message from Burhan Khalid

> It is possible to have 2 different submit buttons, but how
> different is
> the data you want to submit?

my understanding:
more than one submit button in a form is permitted.
if you name each of your submit buttons (eg, NAME="prev" , NAME="next"),
or something like that,
then write a conditional on $currentPage to test for which
value ( $prev || $next ) is passed with your post vars,
and process your array of posted form vars per the results of your conditional...
could it be simpler?

HTH

mdiamond




--




More information about the thelist mailing list