One line input field
Description
One line input field is used to get a single line of text from the user. The validation and styling options make this field highly versatile.
Uses
Contact information fields, like first name, and last name.
Website and URL fields.
Amount fields, like price, and quantity.
Identification fields, like username, and order ID.
Styling
Multi-column layout: Use the layout setting under the General tab to display the field in a multi-column layout.
Hide label: Check the Hide label from view setting under the General tab to hide the label from view.
Prefix and suffix: Available under the Styling tab, these settings allow you to add a prefix or suffix to the input field, which can be a combination of icons and text.
Validation
This field supports the following validation types:
Required: Check if the field is not empty.
Min chars: Check if the input has a minimum number of characters.
Max chars: Check if the input has a maximum number of characters.
Specific validation: Select a specific validation type from the list.
URL: Match the input against a URL pattern, starting with
http://
orhttps://
.Digits: Match only positive integers.
Numeric: Match positive or negative numbers, including decimals.
Letters: Match only alphabetic characters, and spaces. Works with non-English characters.
Letters or digits: Match only alphabetic characters, digits, and spaces. Works with non-English characters.
Pattern mask: Match the input against a custom pattern. Use the Mask pattern input to define the pattern. The pattern can include the following characters:
0
: Match any digit.a
: Match any letter (lower case).A
: Match any letter (upper case).@
: Match any letter (any case).*
: Match any character.[]
: Optional group.
Regular expression: Match the input against a custom regular expression. Use the Regular expression input to define the regular expression.