Skip directly to search Skip directly to A to Z list Skip directly to navigation Skip directly to page options Skip directly to site content

Epi Info™ User Guide

Form Designer


How To: Use Tab Order

In the Enter module, during data entry, pressing tab or enter will move the cursor to the next field. Tab Order is the order or sequence that the cursor moves from field to field. Initially, the tab order is determined by the order in which the fields are added to the form. In many cases, as fields are moved around the page, added from a template, or pasted from somewhere else, the tab sequence may become disorganized. There are other situations in which you may prefer the tab order to move in a custom way, such as down a column of questions, or maybe from right to left across the page.

The proper tab order will make entering data more user friendly and efficient. Additionally, the tab order will determine how fields are displayed on a mobile device.

To show the tab order, right click on the canvas and select Tabs > Show Tab Order. The tab order number for each field is shown in a rectangle near the entry field. Red rectangles indicate the field is a Read Only field or one that cannot receive the cursor, such as Label/Title fields. Group fields also do not receive the cursor, but a tab number is reserved for the group, even though the tab order number for a Group box is not shown.

Right click the canvas to show the context menu. The Tabs item contains submenu items for Show Tab Order, Start New Tab Order, and Continue Tab Order.

How To: Start New Tab Order

Right click the canvas and select Tabs > Start New Tab Order from the context menu. Selecting this function will automatically set the tab order according to each field’s position from left to right, then top to bottom.

How To: Customize the Tab Order

You can customize the tab order to meet the needs of your questionnaire. This process begins by showing the tab order on the canvas. The example below demonstrates how to adjust the tab order in the Food History form of the EColi project located in the Projects folder.

Right click the canvas and select Tabs > Show Tab Order from the context menu to show the current order of field entry.

An example form has three columns of checkbox fields with the tab order running sequentially from left to right one row at a time.

In the example shown in the figure above, the sequence will move the cursor from left to right, row by row.

Suppose you wanted to have the order run down the first column, from ‘Fresh celery’ to ‘Bean sprouts’, then over to the ‘Grapes’ in the second column. There are a couple of methods to do this.

Customize Tab Order using the Mouse

  1. With the Tab Order showing, hover the mouse pointer over the field you want to be the first field in the sequence. In this example, we want to start the sequence with ‘Fresh celery’ at tab order 3. A prompt appears showing the options available to reset the tab order.
Click the black index box to set the index and then click the next tab. Right click for more options.
  1. Click on the tab order number to set the index. In this example, we click the number 3 in order to set the index at 3.
  2. Click on the tab order number for the next field you want to follow the index field. In our example, the field below ‘Fresh celery’ is ‘Skim milk’, currently tab order 6. When we click on the number 6, the number changes to follow our index field and becomes 4 (one more than 3—our index).
As each checkbox is clicked, the tab order numbers, as read down the column, are changed from before 3, 6, 9, and 12 to after 3, 4, 5, and 6.
  1. Click each successive field’s tab order box in the desired flow and the numbers are updated sequentially. In our example, we clicked on the tab order boxes 9, 12, 15, and 18 to set the order to be 5 through 8 consecutively.
Click the tab order number box for each field in the first column. At the end of the first column, move to the top of the second column and click the tab order numbers there, then move to the top of the third column and repeat until all columns are in the desired order.
  1. After clicking the tab number at the bottom of the first column, move the mouse up to the first field of the second column to continue the sequence. Continue clicking each successive tab order number until you are finished. Click anywhere on the canvas to hide the tab order numbers.
As the black tab boxes are clicked, the numbers continue sequentially.

Customize Tab Order using ‘Continue Tab Order’

The Continue Tab Order feature sequentially renumbers the tab order for a selected set of fields based on the current index value. As an example, the figure below shows the original tab order in the Food History form of the EColi project located in the Projects folder.

An example form has three columns of checkbox fields with the tab order running sequentially from left to right one row at a time.

In order to have the order run down the first column, from ‘Fresh celery’ to ‘Bean sprouts’, then over to ‘Grapes’ in the second column using the Continue Tab Order option, follow these steps:

  1. Click and drag a rectangle around the first column of fields. This will select just those fields.
A blue rectangle shows what fields are to be selected.  When selected, each field will have a small blue box just around
  1. Right click the canvas and select Tabs > Start New Tab Order. This will reorder only the selected fields beginning with the first tab order number.
With the first column of fields selected, after updating the tab order with Start New Tab Order, the column's tab order is now 1, 2, 3, 4, 5, and 6.
  1. Click and drag a rectangle around the second column of fields to select them.
A blue rectangle shows what fields are to be selected.  When selected, each field will have a small blue box just around the selected field.
  1. Right click on the canvas and select Tabs > Continue Tab Order. This will reorder the second column of fields continuing from the last Tab Order Number used in the previous action.
With the second column of fields selected, after updating the tab order with Continue Tab Order, the column's tab order is now 7, 8, 9, 10, 11, and 12.
  1. Repeat steps 3 and 4 until all fields’ Tab Order are renumbered as needed.

How To: Disable Tab

The Disable Tab feature makes the field essentially a Read-Only field that does not receive the cursor. In the example shown in the figures that follow, the Age field is calculated in Check Code based on the value entered for Birth Date. Therefore, the designer of this form wants the cursor to skip over the Age field by disabling its tab.

  1. Right click the canvas and select Tabs > Show Tab Order from the context menu.
  2. Right click on the desired field’s tab order box and select Disable Tab.
Right click a black tab box to show the context menu which has menu items for Set as First Tab and Disable Tab.

After disabling the Tab for a field, the tab order box becomes red to indicate that it is no longer a field that will receive the cursor. Pressing the tab key will bypass any disabled tabs.

Note: Check Code only runs when the cursor enters a field. If a field’s tab order is disabled, Check Code will not run for that field.

Top