Enabling 'ENTER' key functionality

Hi,

I want to implement the functionality similar to your search box in Smart Client reference. I have a form and a OK button. I need to submit the form not only by clicking the submit button, but also hitting the ENTER key. How do i trigger an action by hitting the ENTER key?

The best solution I have found is to set the boolean property, saveOnEnter, on the DynamicForm.

I have seen other tricks using the keyPress function, but I personally don’t like this technique as much.

http://www.smartclient.com/docs/6.5.1/a/b/c/go.html#attr..DynamicForm.saveOnEnter

– Mark Varvil