Skip to content

Commit 5047a6d

Browse files
committed
Update validation docs
1 parent 92609a6 commit 5047a6d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/7. Validation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ foreach ($validationErrors as $field => $fieldErrors)
3030

3131
| Validator Name | Description | Parameters |
3232
| -------------- | ----------- | ----------- |
33-
| alnum | Numbers and characters only (ctype_alnum) | None |
33+
| alpha_numeric | Numbers and characters only (ctype_alnum) | None |
3434
| alpha | Characters only (ctype_alpha) | None |
3535
| bool | Must be one or zero | None |
3636
| card | Credit card number (LUHN validation) | None |
@@ -56,10 +56,10 @@ foreach ($validationErrors as $field => $fieldErrors)
5656
| istarts_with | Field must start with (case insensitive) | comma separated list of strings |
5757
| lt_field | Less Than field | field, required |
5858
| lte_field | Less Than or Equal to field | field, required |
59-
| maxlength | Length must be greater or equal | Optional length, else MySQL limit |
60-
| maxvalue | Value must be greater or equal | value, required |
61-
| minlength | Must be less than or equal | number, default field size |
62-
| minvalue | Must be less than or equal | value, required |
59+
| maxlength | Length must be less than or equal | Optional length, else MySQL limit |
60+
| maxvalue | Value must be less than or equal | value, required |
61+
| minlength | Must be greater than or equal | number, default field size |
62+
| minvalue | Must be greater than or equal | value, required |
6363
| month_day_year | Loosely formatted date (M-D-Y) | None |
6464
| month_year | Loosely formatted Month Year | None |
6565
| neq_field | Not Equal to field | field, required |

0 commit comments

Comments
 (0)