You can do it when the textbox loses focus or when the user has
finished typing. The first is the simpler IMHO:

textBox.addBlurHandler(new BlurHandler(){
  public void onBlur(BlurEvent event){
    //the validate method should display/hide validation messages
    validate();
  }
});

The second method could potentially slow down your application if
you're not careful (ie: if you validate after each and every character
typed) so I'll just let you find out how to do it if you're so
inclined.

Hope that helps,

Salvador

On 13 mai, 09:14, poonam <[email protected]> wrote:
> Hello,
>   I have developed an GWT Validation application, here I have
> displayed the error message ln the display panel for the text box. My
> problem is that, after fulfillment of the requirement the error
> message should not be displayed.How can I do it?
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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