Technical Details
The latest technical documentation about the Form Text Component can be found on GitHub.
Further details about developing Core Components can be found in the Core Components developer documentation.
Configure Dialog
The configure dialog allows the content author to define the type of text to be input as well as default values and labels.
Properties Tab
-
Constraint - The type of text to be input and will be validated against
- Text
- Text Area
- Tel
- Date
- Number
- Password
-
Text lines - Number of lines to be displayed in the text area (only displayed when Constraint is set to Text Area)
-
Label - The label that will be displayed for the field
-
Hide the label from being displayed - Needed if the label is required only for accessibility purposes and does not impart any additional visual information about the field
-
Element Name - The name of the field that is submitted with the form data
-
Value - Default value that is prepopulated in the field
-
ID - This option allows to control the unique identifier of the component in the HTML and in the Data Layer.
- If left blank, a unique ID is automatically generated for you and can be found by inspecting the resulting page.
- If an ID is specified, it is the responsibility of the author to make sure that it is unique.
- Changing the ID can have an impact on CSS, JS and Data Layer tracking.