Positioning cursor to first form field


#1

whenever I display the form to the users now the user has to click on
the first field; how do I make it automatically positioning on the first
user enterable form element (is there any javascript helpers)

thanks


#2

ror directory wrote:

how do I make it automatically positioning on the first
user enterable form element (is there any javascript helpers)

Use Prototype

<%=javascript_tag(‘Form.focusFirstElement(“form-dom-id”)’)%>