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 because of this observed behavior:
- In web2py, for "list" fields, <enter> adds a new value to the list
- in web2py, for "text" fields, <enter> creates a line break in the input.
These are great behaviors but they put the users into the habit of pressing enter and the fields that I was validating are not amenable to an a-priori decision about whether the form is completely filled in or not as blank fields are acceptable and common.
Ultimately, I disabled the enter key on a field-by-field basis using jquery and left the behavior as-is for any field with "list" in the name.
Thanks for the suggestions!
Tom