Re: Get form name after submission
| From: | Roger Spears | Date: | Thu, 18 Mar 2004 18:57:38 +0000 |
| Subject: | Re: Get form name after submission | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180883@lists.php.net to get a copy of this message | ||
You assign it to a hidden field in your form
<input type="hidden" name="formName" value="actualFormName">
in your PHP:
$formName = $_POST['formName'];
of course, this would have to be accomplished BEFORE the form is submitted. Not sure if that is what you are looking for or not...
HTH,
Roger