[eluser]cinewbie81[/eluser]
Code:
______________________
| | |
| | |
| | |
| | |
| A | B |
| | |
| | |
| | |
| | |
|________|___________|
I have a form as shown above.
'A' is the registration module and has the fields such as Name, IC Number, Phone Number, Email etc
Whereas 'B' is the login module with 'username' and 'password' fields.
Both of them are under the same form.
'A' has its own validation, and i want the validation error to be displayed above 'A'.
Whereas 'B' has its own validation and the validation error need to be displayed above 'B'.
My current code will display both validation error on top of 'A' and 'B' together. I want it to be seperately, for eg: Login Validation error will only display the validation message on top of 'B' but not in 'A' ...
Anyone?