Data privacy notice

 

When this content is loaded, usage information is transmitted to Vimeo and may be processed there.

 

             

Form field: input field

Modified on Thu, 20 Jul, 2023 at 10:11 AM

  The icon for elements of type Input field.


Functionality

Form elements of type input field add an input field for a single line of text to the form. The label properties panel allows you to add a descriptive label to the checkbox.

Furthermore, the mask options allows you to mask the input similar to password fields.


Properties

Overview of the standard properties


This section describes only those properties that are different from the standard.


Constraints

The constraints property panel lets you set the data type for the input field, and whether it is a required field that needs to be filled out.

This form element possesses the following additional properties for the section Constraints.

NameDescription
Data typeSpecifies the data type of the element. Each data type is connected to a validator that checks whether text was entered in the correct format. When the data type date is selected, a calendar shows up that lets the user quickly select a particular date. See also internationalizing the calendar.
For formatting numeric input with a certain precision and optionally units such as or kg, the function autoNumeric can be used.
By selecting the data type regular expression, you can use a custom regexp for validation. This will also display another field named error text, the text that will be displayed when the text of the input field does not match the regexp. The text of the error message can be translated into different languages as well. The regexp flavor is JavaScript, described in detail at mozilla.org.
Length minThe minimum number of characters that need to be entered.
Length maxThe maximum number of characters that can be entered.
Value minMinumum value of the input, applicable only to the numeric data types integer, positive integer, number, amount of money, and positive amount of money.
Value maxMaximum value of the input, applicable only to the numeric data types integer, positive integer, number, amount of money, positive amount of money and positive amount of money (decimal opt.).
Must equalWhether the value of this input field must equal the value of some other form field.


Value

This form elements does not possess any additional settings for the section Label.

Input fields allow you to specify an initial value and whether the input should be masked.

When you turn on the option mask, the entered text is obfuscated.


This form element possesses the following additional properties for the section Value.

NameDescription
ValueInitial value of the element.
MaskMasks the input. Often used for password fields.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article