The value must equal a given value.
"Validators": [{ "Type": "eq" }]Invert to reverse the test.{{ eq_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. |
Value |
— | The value compared against. |