Skip to content

Commit 411dda1

Browse files
fix the contents section
1 parent a8c391b commit 411dda1

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

README-updated.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,23 @@ Also it includes the `l10n` / `i18n` of error text messages to multiple language
2121
- [Validators](#validators)
2222
- [Collection validators](#collection-validators)
2323
- [Core validators](#core-validators)
24+
- [Composition validators](#composition-validators)
25+
- [Conditional validators](#conditional-validators)
26+
- [Debug print validator](#debug-print-validator)
27+
- [Equality validators](#equality-validators)
28+
- [Required validators](#required-validators)
29+
- [Transform validators](#transform-validators)
2430
- [Datetime validators](#datetime-validators)
2531
- [File validators](#file-validators)
2632
- [Finance validators](#finance-validators)
27-
- [Identity validators](#identity-validators)
33+
- [Generic type validators](#generic-type-validators)
34+
- [Miscellaneous validators](#miscellaneous-validators)
2835
- [Network validators](#network-validators)
2936
- [Numeric validators](#numeric-validators)
37+
- [Path validators](#path-validators)
3038
- [String validators](#string-validators)
31-
- [Use-case validators](#use-case-validators)
32-
- [Extension method validators](#extension-method-validators)
39+
- [Type validators](#type-validators)
40+
- [User information validators](#user-information-validators)
3341
- [Supported languages](#supported-languages)
3442
- [Use](#use)
3543
- [Setup](#setup)
@@ -40,7 +48,7 @@ Also it includes the `l10n` / `i18n` of error text messages to multiple language
4048
- [Migrations](#migrations)
4149
- [v7 to v8](#v7-to-v8)
4250
- [v10 to 11](#v10-to-v11)
43-
- [How does this package works](#how-this-package-works)
51+
- [How this package works](#how-this-package-works)
4452
- [Support](#support)
4553
- [Contribute](#contribute)
4654
- [Add new supported language](#add-new-supported-language)
@@ -62,6 +70,14 @@ Also it includes the `l10n` / `i18n` of error text messages to multiple language
6270
This package comes with several most common `FormFieldValidator`s such as required, numeric, email,
6371
URL, min, max, minLength, maxLength, minWordsCount, maxWordsCount, IP, credit card, etc., with default `errorText` messages.
6472

73+
Generally, the validators are separated in three main groups:
74+
1. Required validators: makes a field optional or required.
75+
2. Type validators: checks the type of the field.
76+
3. Other validators: makes other types of checking.
77+
78+
Generally, we build a validator composing those three types in the following way:
79+
<requiredValidator>(<typeValidator>(<otherValidator>()))
80+
6581

6682

6783
### Collection validators

0 commit comments

Comments
 (0)