You are here: Re: Best solution to tedious form validation? « PHP Programming Language « IT news, forums, messages
Re: Best solution to tedious form validation?

Posted by Shelly on 10/29/07 15:19

<otrWalter@gmail.com> wrote in message
news:1193666566.938124.262280@22g2000hsm.googlegroups.com...
> First step: Client side validation
>
> Second Step: Server side validation
>
> Can't help you with the second (I'm working on it!)
>
> But on the first... How about just added 2 JS INCLUDE calls to your
> page and then adding a pair of custom HTML tags to each Form Object
> you want to have validated...
>
> <input type="text"
> id="first_name"
> name="first_name"
> type="alpha" <- new attribute
> required="true" <- new attribute
> value="">
>
> Would that help?
>
> Walter

In your suggestion you have type="text" and type="alpha" in the same input
tag.

Shelly

 

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

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