[web2py] Re: How can I change a form so that the Enter key is disabled for "Submit"

2015-02-03 Thread Tom Stratton
Thanks - I found several methods on SO that involved manipulation of the OUTPUT from web2py that gets rendered in the browser. Implemented a solution that was very specific to the forms that I want to have filled in. I had hoped for a web2py specific way to manage the submit button behavior be

[web2py] Re: How can I change a form so that the Enter key is disabled for "Submit"

2015-01-30 Thread Niphlod
there are a lot if you want to do down that path. http://stackoverflow.com/questions/895171/prevent-users-from-submitting-form-by-hitting-enter IMHO disabling enter is not a solution (I'm a keyboard guy and I love to send forms with enter): at the very minimum you should do a proper validation