Yep, couple that with using:

yourForm.addEvent('submit',function(event){ event.stop(); });

that should work well.

Ryan

On Sep 4, 8:42 pm, Fábio M. Costa <[email protected]> wrote:
> use a input with type="button" instead of a type="submit".
> Not sure if it works.
>
> --
> Fábio Miranda Costa
> Solucione Sistemas
> Front-End Engineerhttp://meiocodigo.com
>
>
>
> On Fri, Sep 4, 2009 at 4:30 PM, DeMx <[email protected]> wrote:
>
> > How to disable form submit on press enter?

Reply via email to