Wednesday, July 25, 2012

Re: regular expression validator

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 <lifeoflust@gmail.com> 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment