You are here: Re: 1 Form, 2 Actions? « PHP Programming Language « IT news, forums, messages
Re: 1 Form, 2 Actions?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация