ieg-script

The ieg-script element is the root element of the XML file that contains an IEG script and is used to define the script element itself.

Attributes

Table 1. ieg-script attributes
Name Description
config-properties Use this attribute to specify a properties file to use for modifying the text and style that is used for various components in the IEG Player.
fast-path When set to true, this attribute indicates to the IEG Engine that Fast Path navigation is turned on for all script elements on which it applies. By default, this attribute is false. See the Fast Path section of the Working with IEG guide for more details on Fast Path.
finish-page The ID of the UIM page to which the user is taken when there are no more pages to display in the script. That is, when the user clicks the Next button on the last page in the script.
hide-for-control-question When set to true, the label and value of questions that control for loops are hidden once the loop it controls has been entered. If not specified, it default to false and the question value is read-only.

This attribute is not supported in the IBM® Universal Access Responsive Web Application.

highlight-validation When set to true, this attribute indicates to the IEG Player that the mandatory or domain validation errors that are displayed at the top are also be repeated next to the failing question. If not specified, the value is taken from the script configuration properties (using the key validation.highlight), and if not present, it defaults to false. If two questions on the page have the same label (not recommended) and one of them has failed validation, both questions are highlighted.

This attribute is not supported in the IBM Universal Access Responsive Web Application.

quit-page The id of the UIM page to which the user is taken when they click on the Save and Exit button at any stage within this script.
show-progress-bar When set to true, this attribute indicates to the IEG Player to display a progress bar at the top of the page. If not specified, this attribute will be set to true by default.
show-sections
When set to true, this attribute enables section navigation, which is implemented differently depending to the client technology. If not specified, this attribute is set to true by default.
validate-save-and-exit When set to false, this attribute indicates to the IEG Player that page validations and mandatory validations should not be performed when the Save and Exit button is selected. If not specified, this attribute is set to true by default.

Child elements

Table 2. ieg-script child elements
Name MinOccurs MaxOccurs
identifier 1 1
section 0 unbounded