469,573 Members | 1,666 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,573 developers. It's quick & easy.

Changing color of required fields on wrong entry

Hi,

I have a application where there are number of fields for name, age etc designed with PHP ans CSS. There are some required fields with * marking, when the user forgets to enter the data or makes any wrong entry, the field color should change. How to achieve this is CSS.
Please anybody give me some hints regarding this.

With regards
Sep 29 '08 #1
3 1750
drhowarddrfine
7,435 Expert 4TB
Neither html or css can do this. You must ask on the PHP board.
Sep 29 '08 #2
Javascript should be able to do this pretty easily. This thread may help: http://bytes.com/forum/thread638199.html
Oct 1 '08 #3
acoder
16,027 Expert Mod 8TB
Moved to the JavaScript forum.

Moderator.
Oct 1 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

23 posts views Thread by Mark Parnell | last post: by
3 posts views Thread by Orchid | last post: by
5 posts views Thread by David | last post: by
4 posts views Thread by Tony W | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.