The security elements
Version:
The Sitecore Forms application groups the Password and Password confirmation form elements in the Security section of the Forms elements pane.
Password
Password
Use the Password element to add a field to your form where a contact can enter a password.
| Section | Item | Description |
|---|---|---|
| Details | Label | Caption that tells your contacts what information a particular form field is asking for. |
| Field name | Name of the element. Always use meaningful names for the Field name. The Field name is the actual Item name for the Sitecore definition item for the form field. | |
| Default value | Sets the initial value of the input control. | |
| Placeholder text | Text in a form field that functions as a hint to describe the expected value. The placeholder text disappears when the contact clicks the field. For example, Enter your password here. | |
| Minimum text length | Determines the minimum text length. | |
| Maximum text length | Determines the maximum text length. | |
| Validation | Field validation | Determines whether field validation is applied. |
| Field importance | Indicates whether the contact must fill in the field. The options are Optional or Mandatory. | |
| Styling | CSS class | Defines the CSS class of the field. |
| CSS class for label | Defines the CSS class of the label. | |
| Advanced setting | Performance tracking | Select to record data about how the field performs. |
Password confirmation
Password confirmation
Use the Password confirmation element to prevent users registering with an incorrect password.
| Section | Item | Description |
|---|---|---|
| Details | Label | Caption that tells your contacts what information a particular form field is asking for. |
| Confirm password label | Caption that goes with the confirm password field. | |
| Field name | Name of the element. | |
| Password placeholder text | Text in a form field that functions as a hint to describe the expected value. The placeholder text disappears when the contact clicks the field. For example, Enter your password here. | |
| Confirm password placeholder text | Text in a form field that functions as a hint to describe the expected value. The placeholder text disappears when the contact clicks the field. For example, Confirm your password here. | |
| Minimum text length | Determines the minimum text length. Contacts see a validation error message if their input is lower than the value specified in this field. | |
| Maximum text length value | Determines the maximum text length. Contacts see a validation error message if their input is higher than the value specified in this field. | |
| Validation | Field validation | Determines whether field validation is applied. |
| Field importance | Indicates whether the visitor must fill in the field. The options are Optional or Mandatory. | |
| Styling | CSS class | Defines the CSS class of the field. |
| CSS class for label | Defines the CSS class of the label. | |
| Advanced setting | Performance tracking | Select to record data about how the field performs. |
If you have suggestions for improving this article, let us know!