S
spb
hi,
i have a login form and i need to validate all the fields are required
as well as the email is a valid email. when i use the following code on
top it prints out the required error messages for all the fields but i
want it to print it out only once.
<logic:messagesPresent>
<div class="errorblock">
<html:errors />
</div>
</logic:messagesPresent>
i can do this by commenting out the <html:errors /> but then my global
error for email/user does not exist does not display.
please tell me how i can work around this. i am new to it and need to
get this working asap. apreciate any help.
thanks.
i have a login form and i need to validate all the fields are required
as well as the email is a valid email. when i use the following code on
top it prints out the required error messages for all the fields but i
want it to print it out only once.
<logic:messagesPresent>
<div class="errorblock">
<html:errors />
</div>
</logic:messagesPresent>
i can do this by commenting out the <html:errors /> but then my global
error for email/user does not exist does not display.
please tell me how i can work around this. i am new to it and need to
get this working asap. apreciate any help.
thanks.