.. _lengthmax: ========= LengthMax ========= Checks if the value of a field has less than the configured length .. code-block:: typoscript Example Code: validators { DefaultValidator { model = DefaultValidator config { fields { post-code.errorChecks { lengthMax { model = LengthMax lengthMax = 7 } } } } } } **Properties** .. list-table:: :align: left :width: 100% :widths: 20 80 :header-rows: 0 :stub-columns: 0 * - **lengthMax** - Sets the max string length a field value can be. * - - * - *Mandatory* - False * - *Data Type* - Integer * - *Default* - 0 .. toctree:: :maxdepth: 2 :hidden: