From 85266077da1ff285b5634c742486fbd76ea15963 Mon Sep 17 00:00:00 2001 From: ilou <8680610+ilouHD@users.noreply.github.com> Date: Fri, 25 Feb 2022 23:22:57 +0100 Subject: [PATCH] Fix typo in validation_data.md (#262) --- docs/php/api/form_builder/validation_data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/php/api/form_builder/validation_data.md b/docs/php/api/form_builder/validation_data.md index 5613eae3..8956f2bc 100644 --- a/docs/php/api/form_builder/validation_data.md +++ b/docs/php/api/form_builder/validation_data.md @@ -3,7 +3,7 @@ ## Form Validation Every form field class has to implement `IFormField::validate()` according to their internal logic of what constitutes a valid value. -If a certain constraint for the value is no met, a form field validation error object is added to the form field. +If a certain constraint for the value is not met, a form field validation error object is added to the form field. Form field validation error classes have to implement the interface `IFormFieldValidationError`. In addition to intrinsic validations like checking the length of the value of a text form field, in many cases, there are additional constraints specific to the form like ensuring that the text is not already used by a different object of the same database object class. -- 2.20.1