Label

Question type Label is used to provide a read-only dynamically updated field to user rendered as a string (label) on the target display. The usage of this type of question is just validation since the user cannot enter / modify its value but just visualize it.

The question differs from any Selected question types in the matter that it will use just the first item returned by the selected Item List no matter the number of items returned.

Using this type of question validation or confirmation fields can be generated by using lists which are returning values based on other filled question. A typical example might be entering a value with a typed question and use the label to display a linked value from a database.

The list may be statically generated or dynamically generated with a live connection to a third party system via default means or via bi-directional connectors.

A Label question uses Item Lists to generate the value to populate in the displayed labels.

Info

The Label question type updates automatically at any other question changes on the target display. This in order to change or display a value from an item list using any of the other question entered value.

Warning

Don’t abuse on the usage of the labels otherwise the target displays may lag due to the continuous dynamic item list retrieval request for each label at each other question value change.

Additional settings are available in the Selected left section which can customize the behavior of the question and select which item list to use.

questions_selected2

Default
Enter a text to use as pre-filled default value when the question is rendered on the target display, or click the Variable button to select a variable which will contain a value for the target text.

Warning

Since the current question is a list the entered text must match an item available in the list which will be pre-selected as default value, otherwise the Default value will have no effect.

Warning

Pay attention to the used variable, not all variables are meaningfully in this context. Specific processing variables will be always empty because questions happens normally before a process.

Info

You cannot use other questions variables here because typed questions are static and rendered only once when the workflow is load.

Item lists
The section shows a list of all Item Lists available and configurable under the selected question. Select the item list(s) to use for this question by marking the checkbox in the left hand column. The list reflect the general Item Lists list.

Checked item lists will be always displayed on top of the list.

Selecting multiple lists for this type of question makes no effect because the first item of the list is returned no matter the amount of items generated.

You can use the New button to create directly from this section a new Item List, or use the Modify button to modify the settings of the selected Item List without going back into the main Item Lists section. Both buttons will show the New Item List dialog.

It is also possible to search through the list by using the search function on the upper right side.

Info

At least 1 item list is required to be selected in order to generate a list of choices for the current question.

Warning

If the selected item list(s) will produce an empty list of value the label control will not display anything and might appear as not existing being just a string (label) control. Verify always that the selected item lists are actually generating correctly a list.

Previous Article

DateTime

Next Article

Numeric