yes. I am using the below code to validate email format:

validator.addValidators(email,
                new EmailValidator(email).addActionForFailure(new
StyleAction("validationFailstyle")));

but this is showing me the error for empty email field also.
But i want to show this validation only if the value is exist in the email
field.

Thanks in advance

On Wed, Jul 25, 2012 at 10:00 PM, Joseph Lust <[email protected]> wrote:

> Example code?
>
>
> Sincerely,
> Joseph
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/Gxbk6WxAdxEJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to