Show TOC

Background documentationControl Selector Locate this document in the navigation structure

 

You use a control selector to display one of several images or texts on Show or List forms.

Example Example

For example, you can display a red, yellow, or green light depending on the status of a document.

End of the example.

A control selector is a placeholder for several controls, one of which is displayed according to a condition. The control selector must have a reference to a schema element or document property. To determine which control is displayed, the system compares the value of the referenced element with the value of the Condition control property.

The condition is true if the value of the referenced element matches the Condition value.

Regular Expressions

You can use regular expressions in the control selector with the pattern that is written in the table below.

Example of Regular Expressions

Condition

Description

Sport|Politics

This condition is true if the referenced element contains the value Sport or the value Politics.

Low|Normal|High

This condition is true if the referenced element contains the value Low or the value Normal or the value High.

Note Note

The system evaluates the expressions at runtime on the client. Your browser dictates whether the full syntax is supported.

End of the note.

Note Note

Some control properties can be defined for both the control selector and for the individual controls. In this case, the value of the control selector is the default value, which you can override in individual entries.

End of the note.