Selecting the property reference for a control
Select a property for the control to determine the data type to include in the list that an application user sees. At run time, the user selects one or more values from the list.
- In the Property field on the General tab of the Properties panel, press the Down Arrow key and select a property, the value of which the end user selects at run time.
- Click the Open icon to review the property (if the reference is
to an existing property in the Applies To class of this rule or a parent of that class).
If the property is not found, the New dialog box is displayed and you can use it to create the property.
- For the Label option, select one of two settings:
- To use the name of the property as the label for the control, select the Use property default check box.
- To specify a label for the control, clear the Use property default check box and enter the label in the adjacent, unlabeled field.
- To select an existing tooltip for the field or to enter a new one, press the Down Arrow key in the Tooltip field.
- Set the Visibility option to determine when the property value is
displayed.
- Select Always, If not blank, or Not zero to display or hide the field based on the property value at the time this section or flow action is first presented or refreshed.
- Select Condition (expression) to make the visibility dependent on an expression. In the field that is displayed, select a condition or click the Open condition builder icon.
- Select Condition (when rule) to make the visibility dependent on a when condition rule. Click the Open icon to create a when condition or review an existing one.
- To specify when the control is not available to end users, set the
Disable option.
Specify a condition for disabling the text input:
- Never – Never disabled
- Always – Always disabled
- Condition (expression) – The text input is disabled under the specified condition. In the field that is displayed, select a condition or click the Open condition builder icon. You can define a simple expression based on the comparison of a pair of constants, properties, or both, combined by Boolean operators, such as .Color="Red". You can combine the expression with a when condition rule or another expression by using the && and || operators.
- Condition (when) – The text input is disabled under the specified condition. In the field that is displayed, select a when rule. Click the Open icon to create a when condition or review an existing when condition.
- To require application users to enter or select a value for this field to save the form, set the Required option.
- To display a text prompt with the control, select the Include placeholder check box. In the adjacent field, press the Down Arrow key to select preset text or click the Open icon to enter new text.
- When available, you can add a Tour ID and a Test ID.
Previous topic Adding actions to a control Next topic Automating source synchronization in controls