Welcome Guest, Not a member yet? Register   Sign In
Form validation message
#1

[eluser]foysal[/eluser]
Hi all

I am in a problem. How can I print only one Form validation message at a time ??

I am explaining the situation. Assume I hava five text box in a form. They are names username, password, address,email,city. If I left blank all the field of the form then I can see 5 form validation message like Username is blank, password is blank,address is blank,email is blank, city is blank. But I need only one message like Username is blank .Then If I filled Username field but password field left blank , then I would like to get message password field is blank. Like this way if I filled Username and password but I left address field blank then I would like to get message Address field is blank.


I am trying with callback function also but could not get the result .Can anyone help me with code??



Foysal
#2

[eluser]toopay[/eluser]
Show your existing code.




Theme © iAndrew 2016 - Forum software by © MyBB