The value must equal the value of another named field of the same type.
"Validators": [{ "Type": "same" }]Invert to reverse the test.{{ same_validator }}
— the typed object a template reads for this rule.
checkboxlist, code, date, datetime, dictionary, emails, fieldset, html, labels, objecttype, path, select, text, textarea, textlist, timezone, urlAccepted in addition to the shared properties every definition carries.
| Property | Required | Description |
|---|---|---|
Message |
— | Text shown when the value fails this check. |
FieldID |
— | Names the sibling field compared against. |