You are here: Re: Textcolor, Backgroundcolor - but i need TextBackgroundcolor ? « HTML « IT news, forums, messages
Re: Textcolor, Backgroundcolor - but i need TextBackgroundcolor ?

Posted by Jonathan N. Little on 04/01/06 18:19

LeftHorn wrote:
> Hi,
>
> I have a problem...Got a webpage with alot of different input fields - where
> a user can maintain a database.
>
> They are allowed to use 'spaces' in their textfields, sometimes they require
> to insert a space in the end, sometimes it would be fatal if they do - the
> problem is that from a visual point of view the inputfield is like this:
>
> TextColor Black
> BackGround White
>
> Nobody are able to see how many spaces there is after a string, unless the
> cursor is placed in the field - i need somehow to get a different
> TextBackgroundColor (ex. gray) then they would be able to locate it by
> sight, instead of having to manually run through all fields.
>
> Can this be done ? by HTML or JS or something ? hope you can help.
>
>

No, that is the job for data validation...you are validating all tainted
user input BEFORE it is utilizes on the server, right?

You can use JavaScript as an optional prescreening validation, but the
bottom line server-side validation must be done on all user input.

--
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

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