Reply to Re: How do I stop link a Text input to a Submit button?

Your name:

Reply:


Posted by aaron.reese on 07/12/06 12:23

Robert S wrote:

> I am unable to subdivide the page into multiple Forms because all of
> the data in the text fields needs to be updated when any of the Submit
> buttons gets clicked.


Why does that stop it from being in multiple forms. I am assuming you
are using PHP or PERL to subit the field values either to another
function or to an SQL update/insert string. If all the fields need to
be validated/updated then why not just have one submit button. If only
the field associated with the submit button needs to be
updated/inserted, then each field should be in a separate form. If you
want to do it client-side rather than server side, you could set the
on_click event of each submit button to run a javascript function to
carry out the validation. This function could take an argument which
would be the submit button clicked on.

If I've missed the point, then please repost with an example of your
problem

[Back to original 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

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