[PHP] 2 Forms On 1 Page
If I have two forms on one page that both use the same script how do I get only the fields on one of the forms to be submitted? If that makes any sense. Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] 2 Forms On 1 Page
On Saturday 03 November 2001 11:28 am, you wrote: If I have two forms on one page that both use the same script how do I get only the fields on one of the forms to be submitted? If that makes any sense. Jeff Oien as long as you enclose each form within it's own set of form.../form tags and make sure the submit button for each form is within those tags, it should only submit one form at a time. (also make sure that you don't assign the same name= parameter to both forms) --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] 2 Forms On 1 Page
On Saturday 03 November 2001 11:28 am, you wrote: If I have two forms on one page that both use the same script how do I get only the fields on one of the forms to be submitted? If that makes any sense. Jeff Oien as long as you enclose each form within it's own set of form.../form tags and make sure the submit button for each form is within those tags, it should only submit one form at a time. (also make sure that you don't assign the same name= parameter to both forms) --kurt I was missing a closing /form tag in there. Thanks for letting me know it should work, that helped me figure it out. Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]