Number
- Last UpdatedJun 25, 2024
- 5 minute read
Use Number control to enter and view numerical data in your form.
Properties
The properties for the control are grouped under the following tabs:
Basic
|
Property |
Description |
|---|---|
|
Name |
Name that identifies the control. This value is also used for the label of the control. |
|
XML Node |
XML node mapped to the control. Use this value to map a list to a form and a form to a workflow.
Note: |
|
Description |
Description for the control. |
|
Tooltip |
Message that appears when the pointer hovers over the control. |
|
Default Value |
The default value for the control. Note: Ensure the value is within the Minimum Value and the Maximum Value. |
Appearance
|
Property |
Description |
|---|---|
|
Enable |
Enable or disable the control.
|
|
Visible |
Show or hide the control.
|
|
Read-Only |
Allow or deny a user to enter a value for the control.
|
|
Label Position |
Position of the label for the control.
Note: |
|
Label-Control Area |
Area occupied by the label and the control in percentage.
Note: |
|
Watermark |
Hint text that appears when no value is entered for the control. |
|
Width |
Width in pixels for the control. The default value is 0. Note: If the value is 0, then the width of the control is set as per the default values. |
|
Retain Space |
Reserve or remove space when the control is hidden.
|
Validation
|
Property |
Description |
|---|---|
|
Mandatory |
Enforce or bypass entering a value for the control.
|
|
Auto-update Value |
Allow or deny the system to automatically update the value to the nearest minimum or maximum value for the control.
|
|
Minimum Value |
Minimum value for the control. |
|
Maximum Value |
Maximum value for the control. |
Advanced
|
Property |
Description |
|---|---|
|
On Data Change |
Run a script when value of the control changes. For more information, see scripting guidelines for On Data Change property. |
|
ID |
Reference identification code for the control. This value is automatically generated and cannot be changed. |
|
Number Format |
Number format for the value of the control. The default value is taken from the current server culture. For more information, see Number Formats. |
|
Decimal Places |
Decimal places for the value of the control. The default value is 0. |
|
Decimal Separator |
Decimal separator for the value of the control. The default value is taken from the current server culture. |
|
Group Sizes |
Group sizes for the value of the control. The default value is taken from the current server culture. |
|
Group Separator |
Group separator for the value of the control. The default value is taken from the current server culture. Note: This property is applicable only when the Show Group Separator property is set to Yes. |
|
Show Group Separator |
Show or hide the group separator for the value of the control.
|
|
Negative Pattern |
Negative pattern for the value of the control Enter (n), -n, - n, n- or n -. The default value is taken from the current server culture. |
|
Include in Summary |
Allow or deny a user to view the value in the Summary of a Base Form.
Note: |
Scripts
For information about using scripts, see scripting guidelines for Number property.
Note: If culture is not specified in the web.config file, then the values for the culture specific properties are as per the current server culture.