Loading...
Loading...
Loading...
A Numeric component accepts numeric digits only. Numeric input is most often used with information that an agent collects or updates.
Click Numeric on the component toolbar.
To assign a default value to this component, bind it to the value of a variable. Expand the Advanced group. Below Value click Select Variable. Then choose a variable. The component will display the runtime value of that variable.
To assign an action to invoke when the user provides input, select No action selected from the Change Action list.
To select an action, click a row. Assign a previously defined action or create a new action.
Set any other properties of this component.
The Value property binds a component to the variable selected. For example, if you bind a text input component to a variable, the input box will always display the value of that variable, ignoring any placeholder text specified. The variable is automatically updated with text typed by the user, subject to validation processing.
Other controls, radio buttons for example, use Value with a Selected Value Text setting. When the radio button is selected at runtime, its "Selected Value Text" becomes the new value of the variable. This way, each radio button can assign a different value to same variable.
When a calendar control is bound to the variable, its value is set to the date selected by the control. Since variables can preset the value of visual controls and also be set by them, binding is a powerful and often-used technique.
Configure the Label by selecting a variable, entering text, and choosing a position.
The Range property sets minimum and maximum bounds selectable by a numeric input component. You can set the upper and lower limits to integer values or leave the setting at none. The default is None, meaning that the no limits are set. You can enter any numeric value.
If you select Integer, you can specify a minimum or maximum value.
Configures width to a fixed size, to grow as needed to display content, or to consume as much space as possible relative to other components, using weighting to influence size adjustments.
Configures height to a fixed size, to grow as needed to display content, or to consume as much space as possible relative to other components, using weighting to influence size adjustments.
Aligns a component to the left, right, or center, relative to its parent container.
Auto Sizing. To correct this, set the parent container's Height to Stretch or to a fixed height in Pixels.Margins set left, right, top, and bottom spacing around a border.
The Visible property sets the visibility of a component based on the value of a Boolean (True or False) variable or an expression.
To set the Visible property based on a variable:
To set the Visible property based on an expression:
At runtime, the component is visible when the expression is True. The component is hidden when the expression is False.
Configure the Label Style by selecting:
The Value property binds a component to the variable selected. For example, if you bind a text input component to a variable, the input box will always display the value of that variable, ignoring any placeholder text specified. The variable is automatically updated with text typed by the user, subject to validation processing.
Other controls, radio buttons for example, use Value with a Selected Value Text setting. When the radio button is selected at runtime, its "Selected Value Text" becomes the new value of the variable. This way, each radio button can assign a different value to same variable.
When a calendar control is bound to the variable, its value is set to the date selected by the control. Since variables can preset the value of visual controls and also be set by them, binding is a powerful and often-used technique.
The Range property sets minimum and maximum bounds selectable by a numeric input component. You can set the upper and lower limits to integer values or leave the setting at none. The default is None, meaning that the no limits are set. You can enter any numeric value.
If you select Integer, you can specify a minimum or maximum value.
All components are enabled by default. The Disabled property binds a True/False variable to a component, to disable or enable it based on the runtime value of the variable.
To test your work, click Preview.
The Change Action property allows you to set an action that executes when the state or value of this component is changed.
You can select a Scripter action, an Outbound Action, or a custom action. Outbound actions are not available unless the Outbound property is enabled.
Get user feedback about articles.