sectionChoice

The sectionChoice element specifies how a choice is displayed and what options are provided.

sectionChoice Element

Element Structure

The sectionChoice element structure is as follows:

<xs:complexType name="sectionChoice">

    <xs:sequence>

      <xs:element name="id" type="xs:string" />

      <xs:element name="choiceValue" type="xs:string" />

      <xs:choice>

        <xs:element name="clickToContinue" type="tns:clickToContinue" />

        <xs:element name="choiceOption" type="tns:choiceOption" />

        <xs:element name="choiceSwitch" type="tns:choiceSwitch" />

        <xs:element name="selectFromList" type="tns:selectFromList" />

        <xs:element name="textInput" type="tns:textInput" />

        <xs:element name="uploadImageList" type="tns:uploadImageList" />

      </xs:choice>

    </xs:sequence>

</xs:complexType>

tog_minusSub-elements

The sectionChoice element contains the following sub-elements:

Name

Data Type

Comment

id

string

In a multi-choice environment, the server receives the choice id as the input (selected choice).

choiceImage

string

Specifies an image illustrating the label.

choiceLabel

string

Specifies the displayed label name.

choiceValue

string

Stores the value (data) entered by the user (for example when going ‘Back’ or when the value is pre-defined).

The choiceValue sub-elements are as follows:

clickToContinue

clickToContinue

Implements the click-to-continue style for multiple options and Yes/No options.

choiceOption

choiceOption

Implements radio button style for multiple options and Yes/No options.

choiceSwitch

choiceSwitch

Implements a Yes/No switch (instead of Yes/No drop-down).

selectFromList

selectFromList

Implements a drop-down list.

textInput

textInput

Implements all text box formats.

uploadImageList

uploadImageList

 

collectionItem

collectionItem

Either a list of simple variables (text, numbers, booleans, etc.) represented as disabled buttons, or a list of custom objects.