Skip to main content

Text Field

In Authorium's form builder, the Text Field component is a versatile input element that enables users to enter and submit text-based data within a form. This component is commonly used for collecting various types of information, such as names, email addresses, phone numbers, and custom text responses.

Text Field

The options available to configure the Text Area elements are separated into four categories:

  • Display
  • Data
  • Validation
  • Conditional

Display

ParameterDescription
LabelThe label appears next to a form input field and describes its purpose clearly.
PlaceholderThe placeholder text that will appear when this field is empty. It shows an example of what should be inserted.
DescriptionThe description is text that will appear below the input field.
TooltipEnter the text here that will appear as a tooltip to the side of this field.
PrefixAdd a text before the input field.
SuffixAdds a text after the input field.
Input MaskAn input mask helps the user with input by ensuring a predefined format.

9: numeric
a: alphabetical
*: alphanumeric

Examples:
Date (MM/DD/YYYY)
Input Mask: 99/99/9999
Example Input: 03/15/2025

Social Security Number
Input Mask: 999-99-9999
Example Input: 123-45-6789

Currency (USD)
Input Mask: $9,999.99
Example Input: $1,234.56

Time (12-hour)
Input Mask: 99:99 aa
Example Input: 08:30 PM
Display MaskA display mask helps to display the input in a readable way, so this won't affect the value that will be saved (to affect both view and saved value, delete Display Mask and use Input Mask).

9: numeric
a: alphabetical
*: alphanumeric
Allow Multiple MasksCheck this to be able to include multiple masks.
Custom CSS ClassCustom CSS class to add to this component.
AutocompleteIndicates whether input elements can have their values automatically completed by the browser by default.
HiddenA hidden field that is still a part of the form but is hidden from the user’s view.
Hide LabelHide the label of this component. This allows you to show the label in the form builder but not when it is rendered.
Show Word CounterShows a live count of the number of words.
Show Character CounterShows a live count of the number of characters.
Hide InputThis hides the input in the browser and does not encrypt it on the server.
Note
Please don't use it for passwords.
Initial FocusMake this field the initially focused element of this form.
Allow SpellcheckCheck this to enable the spellcheck marks in the text field.
DisabledDisables the form input.
Text Field 1

Data

ParameterDescription
Multiple ValuesAllows multiple values to be entered for this field. Check this to add multiple text boxes and values to be entered for this field. You can add as many as you want.
Default ValueThe Default Value will be the value for this field before user interaction. Having a default value will override the placeholder text.
Text CaseWhen data is entered, you can change the case of the value.

For example:
- Uppercase: Allows uppercase words only.
- Lowercase: Allows lowercase words only.
- Mixed: Allows a mix of both.
Truncate Multiple SpacesCheck the option not to allow multiple spaces to happen.
Clear Value When HiddenWhen a field is hidden, clear the value.

Validation

ParameterDescription
RequiredCheck this to make this field as required. The user must fill it out before the form can be submitted.
UniqueCheck this to ensure the data submitted for this field is unique and has not been submitted before.
Validate When HiddenCheck this to validate the component when it is hidden/conditionally hidden. Validation errors are displayed in the error alert on the form submission.
Minimum LengthEnter a value to set the minimum length requirement for this field.
Maximum LengthEnter a value to set the maximum length requirement for this field.
Minimum Word LengthEnter a value to set the minimum amount of words that can be added to this field.
Maximum Word LengthEnter a value to set the maximum amount of words that can be added to this field.
Regular Expression PatternThe regular expression pattern tests that the field value must pass before the form can be submitted.

Example:
x@xxx.com
Error LabelThe label for this field when an error occurs.
Custom Error MessageError message displayed if any error occurred.

Conditional

ParameterDescription
This Component should displayTrue - the component will display in the form.
False - the component will not display.
When the form componentSelect what component within the form will execute the condition. For example, Submit.
Has the valueThe data entry of the field that executes the condition.