You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/php/api/form_builder/validation_data.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
## Form Validation
4
4
5
5
Every form field class has to implement `IFormField::validate()` according to their internal logic of what constitutes a valid value.
6
-
If a certain constraint for the value is no met, a form field validation error object is added to the form field.
6
+
If a certain constraint for the value is not met, a form field validation error object is added to the form field.
7
7
Form field validation error classes have to implement the interface `IFormFieldValidationError`.
8
8
9
9
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.
0 commit comments