Re: forms

From: Date: Tue, 14 Jan 2003 03:20:48 +0000
Subject: Re: forms
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-131505@lists.php.net to get a copy of this message
--- cj <cj@itonsite.com.au> wrote: > Is it possible to have two buttons and have different > actions for each button in the same form? No, because the action belongs to the form, not the submit buttons (which is why action is an attribute of form). However, you can use different names and values for the submit buttons, so that you can tell which was pressed on your receiving page. This way you can act accordingly, which is probably what you wanted to know. Hope that helps. Chris

« previous php.general (#131505) next »