Javascript & Css Form Validation

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
girishbm.gowda
Forum Newbie
Posts: 7
Joined: Mon Jan 04, 2010 11:44 pm
Location: Bangalore,Kolar,Karnataka

Javascript & Css Form Validation

Post by girishbm.gowda »

hi
i need to have form(username,password and email) validation.

The validation should not have pop- up messages instead of that it should dispaly message beside the text box and text box should be red color.......

can any give the link r any source code.......

regard's
girish
rahulzatakia
Forum Commoner
Posts: 59
Joined: Fri Feb 05, 2010 12:01 am
Location: Ahmedabad

Re: Javascript & Css Form Validation

Post by rahulzatakia »

Hi,
To display error message you can use the session variables
And to change the text box color you need to change the class of the text box. You can use the if condition in the text box where you use the class..
Post Reply