You are here: Re: Form Validation « PHP Programming Language « IT news, forums, messages
Re: Form Validation

Posted by Daniel Tryba on 06/25/05 02:16

peebrain <pb@anon.com> wrote:
> There must be a way to do the error checking before the submit. The
> only way I can think to do this is with Javascript and a button
> element onclick event (instead of Submit button) with the Javascript
> handling the form validation and form submit. There is probably a real
> obvious PHP solution but I can't see it.

It's very obvious that there is _NO_ way to validate with PHP before
submitting it since PHP is serverside and to get the data from
clientside to serverside it has to be submitted (one way or the other).

Validation needs to be done serverside always, any checks clientside are
a bonus but are not to be relied on.

 

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

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