Issue Bug Closed

#97083Form validators documentation misses validator names

Christian Weiske 03/02/22, 12:54 updated 10/04/22, 14:14

Description

The form validators documentation at https://docs.typo3.org/c/typo3/cms-form/main/en-us/I/Concepts/Validators/Index.html lists the validators, but does not tell me what their actual names are.

For example there is the “String length validator” at https://docs.typo3.org/c/typo3/cms-form/main/en-us/I/Concepts/Validators/Index.html#string-length-validator
The internal name that I have to put into the yaml configuration file is “StringLength”, and the option names are “options.minimum” and “options.maximum” – but that page says “Minimum: The minimum length of the string.” and “ Maximum: The maximum length of the string.”, which is different casing.

The real names are on https://docs.typo3.org/c/typo3/cms-form/main/en-us/I/Config/proto/validatorsDefinition/validators/StringLength.html, but this is not linked either.

Reviews 1