Page 1 of 1

Javascript & Css Form Validation

Posted: Mon Feb 01, 2010 11:34 pm
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

Re: Javascript & Css Form Validation

Posted: Mon Feb 08, 2010 1:19 am
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..