form validation problem - urgent plz help
Posted: Fri Apr 16, 2004 5:48 am
hi,
i have been trying to implement the form validation, in which the user is shown error in RED (or any) color next to the textbox or any input box in the next page, if he or she does not enter or enters wrong information.
I am trying to implement the validation similar to what happens when a user registers for an account for Yahoo Mail. He/she is shown the only fields which are left out or inputted wrong.
NOTE: i am using smarty templating system.
Plz help me finding a code snippet or some tutorial.
Thanx
Gaurav
i have been trying to implement the form validation, in which the user is shown error in RED (or any) color next to the textbox or any input box in the next page, if he or she does not enter or enters wrong information.
I am trying to implement the validation similar to what happens when a user registers for an account for Yahoo Mail. He/she is shown the only fields which are left out or inputted wrong.
NOTE: i am using smarty templating system.
Plz help me finding a code snippet or some tutorial.
Thanx
Gaurav