You are here: Re: form with two buttons « HTML « IT news, forums, messages
Re: form with two buttons

Posted by Harlan Messinger on 01/31/69 11:53

walterbyrd@iname.com wrote:
> I want a simple form, but with two buttons: login and logout. I
> understand that I can do this by placing a form within a form.

You understand incorrectly. A form cannot contain another form.

Use a single form. Give the two buttons different name attributes. In
the page that the form submits to, find out which of the two names has a
non-blank value embedded in the request, and go on from there.

 

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

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