You are here: Re: Forms in table cells modify cell height - grrr « HTML « IT news, forums, messages
Re: Forms in table cells modify cell height - grrr

Posted by Adrienne Boswell on 07/07/07 00:08

Gazing into my crystal ball I observed Tim Streater
<timstreater@waitrose.com> writing in news:timstreater-
C4D85E.00453807072007@individual.net:

> I
> made each cell have its own form, because I couldn't find in any of the
> docs I have whether a form can be submitted by any one of several
> buttons. All the examples I ever saw only had one button, and the docs
> didn't appear to cover the point.
>
>

A form can have umpteen submit buttons. It's a matter of the server side
script to sort it all out. But... again, important to name the submit
buttons, so when the script _does_ get the information, it knows which
one did the submitting (if that's important to your script).

So:

<form method="post" action="myscript.php">
....various form elements...
<input type="submit" name="sub1" value="Submit">
....more interesting elements...
<input type="submit" name="sub2" value="Submit">
</form>

Then you will get either sub1/Submit or sub2/Submit in your form
collection.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

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

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