I don't think so.  I've always solved that problem by giving each Submit
button a distinct name.  Then when the form comes in, if the name of that
submit button came in in a name/value pair the it was the one clicked.  (the
value doesn't matter - it will be the same as the button caption).  this
also allows me to have multiple buttons on the same form if needed.
--
Mark Hubbard: [EMAIL PROTECTED]
Microsoft Certified Professional

"Never apply a Star Trek solution to a Babylon 5 problem."

-----Original Message-----
From: Ian Harding <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, October 11, 2001 12:30 PM
Subject: form name


>Html forms have a name attribute that is used for stuff like referring to
controls on the form in client side scripts, but does it get passed to the
server on submit?  I would like to know the form name when I process form
data.  Is it possible other than doing <input type=hidden name=formname
value=bla>?
>
>Ian A. Harding
>Programmer/Analyst II
>Tacoma-Pierce County Health Department
>(253) 798-3549
>mailto: [EMAIL PROTECTED]

Reply via email to