.. _equalsfield: =========== EqualsField =========== Checks if a field value equals or not equals another field value. .. code-block:: typoscript Example Code: validators { DefaultValidator { model = DefaultValidator config { fields { password_repeat.errorChecks { equalsField { model = EqualsField field = 1.password } } username.errorChecks { equalsField { model = EqualsField equal = False field = 1.password } } } } } } **Properties** .. list-table:: :align: left :width: 100% :widths: 20 80 :header-rows: 0 :stub-columns: 0 * - **equal** - Set false to negate the comparison * - - * - *Mandatory* - False * - *Data Type* - Boolean * - *Default* - True .. list-table:: :align: left :width: 100% :widths: 20 80 :header-rows: 0 :stub-columns: 0 * - **field** - Path name of the field that must be equal to the value of a given field * - - * - *Mandatory* - False * - *Data Type* - String * - *Default* - Empty String .. toctree:: :maxdepth: 2 :hidden: