mohan,

At client you can put an event on button that advises the user to
enter proper information.

Button saveBtn = new Button("Save")
saveBtn.addClickHandler( new ClickHandler() {
  public void onClick(Event event) {
      if (nameEditBox.getText().equals("")) {
          Window.alert("bla bla bla")
        return;
      }
 }
});


if the validation depends on the server you can use gwt rpc mechanism
to achieve that

http://code.google.com/intl/en/webtoolkit/doc/1.6/DevGuideServerCommunication.html#DevGuideHttpRequests

Good Luck,

Geraldo



On 22 set, 06:49, mohan <yen.mo...@gmail.com> wrote:
> Hi,
>  I am very new to GWT. I have a form with Name,phone and email. I need
> to validate the input. How can i do that? Kindly guide me.
> Thanks in advance.
>
> Cheers!!!
> Mohan
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to