|
Posted by David on 02/26/07 04:23
Steve wrote:
> <bissatch@yahoo.co.uk> wrote in message
> news:1172446927.050902.126230@s48g2000cws.googlegroups.com...
> | Hi,
> |
> | When I submit a form, I use the $_POST thingy to get the form values.
> | Is it possible to get the form name from this method?
> |
> | For example:
> |
> | <form name="form1" method="post" action="...">
> | <input type="text" name'"name"...
> | .
> | .
> | </form>
> |
> |
> | When I submit the form I will get the POST variable "name" as well as
> | any other form elements that are submitted. Can I also get the form
> | name, "form1"?
>
> no.
>
>
why not put the form name with in a hidden field?
<input type="hidden" name="form_name" value="Name of your form">
--
MicroSoft's NEW Motto: "Good enough." When you're on top, that's the
only standard that matters.
Navigation:
[Reply to this message]
|