Disable "enter key" on form

This has almost been answered but not quite. I have a form with a save button which works great. the problem is, if folks hit the enter key at anytime during data entry, it saves (in the database) and resets the form. I have several input elements set to “input should not be empty” but the enter key still “overrides” and saves. Any suggestions?

I think if you set the “Save” button to be unclickable until all the fields are not empty, that should work. I’m not 100% on that one, but worth a try maybe.

This topic was automatically closed after 70 days. New replies are no longer allowed.