Skip to main content
Participant
March 5, 2016
Answered

Can I move from field to field by using "enter" instead of tab?

  • March 5, 2016
  • 2 replies
  • 681 views

Because I use the "Enter" key in most of my software, I'm wondering if I can use that key instead

of the "Tab" key to move within my forms from field to field.  Oftentimes I do hit it and the cursor

locks up somewhere and I have to "click" in the next field and start "Tabbing" again.  I tried to locate

an option in my settings but could not find where I might switch to "Enter."  Can somebody help me?

Thanks.

This topic has been closed for replies.
Correct answer George_Johnson

There's nothing as simple as that. You can try using a custom Format script along the lines of:

// Custom Format script for text/dropdown field

if (event.commitKey === 2) {

    getField("Text2").setFocus();

}

This will cause the focus to be set to the field named "Text2" when the enter key is pressed in a text field (non-multiline). If the field uses one of the built-in formats (e.g., Number), it's still possible, just more complicated.

2 replies

Participant
March 5, 2016

Thanks very much George, I appreciate your help, but it's way over my head.  I was hoping that I could simply choose an option in my settings somewhere.  I guess I'll just stick with hitting the tab button and if I forget and hit the enter key along the way, I'll just go to the next field and mouse click to begin again.

George_JohnsonCorrect answer
Inspiring
March 5, 2016

There's nothing as simple as that. You can try using a custom Format script along the lines of:

// Custom Format script for text/dropdown field

if (event.commitKey === 2) {

    getField("Text2").setFocus();

}

This will cause the focus to be set to the field named "Text2" when the enter key is pressed in a text field (non-multiline). If the field uses one of the built-in formats (e.g., Number), it's still possible, just more complicated.