You are here: Re: Prevent user from entering punctuation « HTML « IT news, forums, messages
Re: Prevent user from entering punctuation

Posted by PW on 11/02/35 11:51

Yeah, thats what I was afraid of.

Thanks for the info,
PW




"Jonathan N. Little" <lws4art@centralva.net> wrote in message
news:ab3db$4494c287$40cba7a5$13030@NAXS.COM...
> PW wrote:
>> Hi,
>>
>> Is there anyway to format a text input so the user cant enter punctuation
>> marks?
>
> Before it is posted, your can use JavaScript to check the input, but that
> is no guarantee because the user may have JavaScript disabled. You should
> *always* check user input upon the receiving end at the server-side
> script. There is where you can make the final and absolute check of the
> input. You can either quietly filter out the unwanted characters or return
> to then previous form with an error message.
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIO
> http://www.LittleWorksStudio.com

 

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

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