Re: form handling
| From: | Jim Giner | Date: | Fri, 12 Aug 2011 00:44:13 +0000 |
| Subject: | Re: form handling | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314505@lists.php.net to get a copy of this message | ||
I'm thinking that Chris means that he has a 'page' designed that utilizes
two form tags for functionally different sets of input fields. The answer
Chris is that a page can have many forms and whether or not they trigger the
same script upon submit or not doesn't matter. Go ahead!
My sample html:
blah
blah
head
script
/script
style
/style
/head
body
form
inputs
/form
blah
blah
form
inputs
/form
/body
/html
If the two forms call the same script that's fine. If not, that will work
too. Just realize that the inputs from one form will NOT be returned to the
script when the submit is used from the other form.