Number

The Number component allows users to input numerical values for a column where the data type is detected as "Number." The numeric keyboard is displayed when users tap to fill in the input field. This component is particularly helpful when collecting numeric data such as quantities, prices, ratings, or other numerical information.

Title

Enter the name or assign a label to the component, helping users understand the purpose or context of the numerical input they are providing.

Default value

Predetermined default value, or left blank if no default value is desired.

The default value setting allows pre-populating the component with a specific value when the form is loaded. This setting can provide convenience and help streamline the form-filling process.

Style

Customize the appearance and functionality of the number input field by selecting one of the available styles: scale, steppers, and text field.

Scale enables users to select a value from a predefined range; the stepper provides increment and decrement buttons for adjusting the value, while the text field allows users to enter a numerical value manually.

Validation

"Required" and "Validation by Formula" checkboxes validate input.

When "Required" is enabled, the input field must be filled by users before they can submit the form.

"Validation by Formula" allows you to write your data validation rules with Typescript. Read how Typescript is implemented in Starion here.

pageOverview

Hidden

Hide the input field if in case it is needed.

This can be useful if you only want to show the field to certain users, if you want to hide it until a specific point in the form, or when you want to use the component to collect the data in the background without displaying it to the user.

Tag

Name the component for use with the Typescript.

currentPage.components.componentTag

Last updated