|
Posted by Andy Jeffries on 03/30/06 22:11
On Thu, 30 Mar 2006 20:00:37 +0100, Tony Marston wrote:
> I don't see what the problem is. It is possible to have more than one
> submit button on any form, with each one having a unique name instead of
> 'submit'. So if you have a form with 'buttonA', 'buttonB' and 'buttonC'
> when the user presses one of those buttons that will be the ONLY one to
> appear in the POST array. I have been using this technique for years, so
> don't tell me that it doesn't work.
Congratulations...now tell me, did you actually read the post you're
responding to?
He didn't ask about having multiple submit buttons but about having
multiple form actions (target scripts) depending on which button is
pressed.
Re-read and try again...
Regards,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
Navigation:
[Reply to this message]
|