help me to write javscript : instant validation
Posted: Wed Sep 09, 2009 4:22 am
Hi friends
i am working on php validations. in my application 1- 10 text fields are there i.e
name, age , date etc...
I have done with all the validations but when i press the submit button and if there is a error in date field then its showing that please enter valid date. But the application is clearing all the fields and again i have to enter all the values like name, age, date etc....
can anyone help me in writing this javascript so that....when i enter wrong data at that time itself i would be able to know that there is a error in field and i can correct it out...
thank you
i am working on php validations. in my application 1- 10 text fields are there i.e
name, age , date etc...
I have done with all the validations but when i press the submit button and if there is a error in date field then its showing that please enter valid date. But the application is clearing all the fields and again i have to enter all the values like name, age, date etc....
can anyone help me in writing this javascript so that....when i enter wrong data at that time itself i would be able to know that there is a error in field and i can correct it out...
thank you