With the Tab command it is possible to split the data capture interview into a number of tabs, and divide the interview questions into these tabs.
Examples of usage:
Consider the above template.
The two Tab commands will cause the interview to be split into two tabs, with captions Personal and Employer. The data elements Name, Address, Telephone and FaxNumber will appear on the Personal tab, and all other data elements on the Employer tab.
Constructing the Tab command:
The Tab command can be inserted from the Command Editor and the data elements typed in. But there is an easier way! After a template is saved, all data elements known to the template are presented in the Command Editor under the Data Elements node. Double clicking on a data element will insert it into the template.
Because you want to insert these data elements in the form of a list rather than inside their delimiters, toggle the button to Exclude the delimiters before double clicking on a data element name.
See below two interviews side by side, the first containing no tabs, and the second interview arranged with tab commands:
Why might I have a General tab:
If the command
«Tab(Employer)» is omitted, then XpressDox will construct a tab captioned General on which all the other data elements will appear.
Any data elements (including Placeholders), not yet assigned to a Tab, will appear in a General Tab.
The Tab command only affects the main data element parent, and not any repeating data elements. In a command such as
«ForEach(Beneficiary)» “Beneficiary” is known as the parent element.
Note that the restriction to non-repeating data elements does not apply when the InterviewIsWizard Command is active – in that case it is possible to apply the Tab command to a repeater.