Hullo, I’m wondering how I stop a form from being submitted when I hit enter. I want the form to do nothing when enter is typed, to leave all text fields and buttons they way they were. Thanks.
@ProGrapeauthorDec 29.2006 — #Actually, for the moment, the form never gets submitted since the user is given output info as they type. But I think you've given me the right idea, that is, to return false, so I'll go and give it a shot. Thanks ?
Is it possible to define explicity the method onSubmit()?
For instance, could you do something like [CODE]function onSubmit () { return false; }[/CODE] ?