Single-line text

The "Single-line Text Input" is a simple yet powerful input field that allows users to enter a single line of text. This input field type is commonly used in forms where users must provide basic information such as their name, email address, or physical address.

Title

Add a title for the input field. This title will appear above the input field and should be descriptive enough to help users understand what type of information they are being asked to provide.

Default value

Set a default value for the input field. This can be useful if you know that most users will enter the same value or if you want to suggest a default value for the user.

Content type

Specify the type of content that should be entered in the input field. You can choose from several options: Email, Address, Name, and Plain text. This can help ensure that users enter the correct type of information in the field and can also help with data validation later on.

Secret input

Hide confidential information, such as passwords. Enabling this setting ensures that all input in the field appears as black dots, safeguarding sensitive data.

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