Multi entry form input

In case a form has multiple test input, how can I automatically go to the next input field when the user touches the enter button?