add a submit handler and you can call cancel on the event.

On Sep 13, 9:58 am, nirav patani <[email protected]> wrote:
> Is there any way to cancel a GWT submit event on press of enter key.
>
> I want to perform som validations on the gwt page and then only invoke
> form.submit() method. but form gets submitted by pressing of enter
> key. Any suggestions to do the same ??

-- 
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