Project

General

Profile

Actions

Bug #97083

closed

Form validators documentation misses validator names

Added by Christian Weiske about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Form Framework
Target version:
-
Start date:
2022-03-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint

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.

Actions

Also available in: Atom PDF