Any way to have return key submit a ui_form?

I have a ui_form and I want to have the return key act as if the Submit button was pressed. Can anyone think of away to accomplish this?

Paul

the return key is active when you get to the enter button, you can tab between the field of the form. If you want to submit a non-complete form then maybe don't use a ui_form and use separate widgets and a join node ?

Ahh I just have one text field and never tried tabbing! :hearts: