Field Matching
Description
Validates that the values of two properties are identical.
May be used by
Properties
First Field (
firstField) Description
The name of the first property to match.
Attributes
String
Mandatory
Example
email
Example
password
Second Field (
secondField) Description
The name of the second property to match.
Attributes
String
Mandatory
Example
email_confirmation
Example
password_confirmation
Translation Key (
translationKey) Description
The translation key to use for the error message in case the validation fails. A default translation is used when no translation key is configured.
Attributes
String
Optional
YAML Template (with default values)
type: MatchingFieldsValidation
id: MatchingFieldsValidation-xxxxxx
displayName:
comment:
properties:
firstField:
secondField:
translationKey: