472,127 Members | 1,909 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.