I would like to know which form has send the request. Is it possible to get the name of the form?
<FORM name="form1" ...>
...
</FORM>
<FORM name="form2" ...>
...
</FORM>
How do I get the name of a form on the next page?
Moderator: General Moderators
-
Ford Prefect
- Forum Newbie
- Posts: 2
- Joined: Sun Dec 01, 2002 5:19 am
the form-element itself has no associated value but you may add a hidden field or assign values to the submit-buttons
Code: Select all
<form method=....>
<input type="hidden" name="source" value="form1" />
...
</form>
or
<form method=...>
...
<input type="submit" name="form" value="form1" />
</form>