This topic is locked
[SOLVED]

 How to Change Tab/Field Order

6/29/2010 12:43:46 PM
ASPRunnerPro General questions
J
jackieh author

How can I change the order of tab stops on a form? The default order doesn't work for the users of the form. Is there an easy way through a setting in ASP Runner or do I have to edit the HTML code?

A
ann 6/30/2010

Hi,
to change the order of tab navigation add the following code to the JavaScript Onload event on the Events tab.

Here is a sample:

document.getElementById('value_FieldName1_1').tabIndex="3";

document.getElementById('value_FieldName2_1').tabIndex="2";

document.getElementById('value_FieldName3_1').tabIndex="1";



where FieldName1,FieldName2, FieldName3 are your actual field names.
More information is here:

http://www.w3schools.com/jsref/prop_html_tabindex.asp

J
jackieh author 6/30/2010

Thank you very much.