File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,8 @@ if($validator->validate($data, true)) {
168
168
169
169
| Rules | Value | Description |
170
170
| ----------------| ----------| -------------|
171
- | required | boolean | set required fields, required fields can not be null or empty. |
171
+ | required | boolean | required fields check only data exists or not, it doesn't check data is empty or null. |
172
+ | null | boolean | check data is empty or null, use ` true ` for empty or null and use ` false ` for non empty or not null values. |
172
173
| alphabet | boolean | match alphabetical data. use ` true ` for alphabetical and ` false ` for non alphabetical values. |
173
174
| numeric | boolean | match numeric data. use ` true ` for numeric and ` false ` for non numeric values. |
174
175
| alphanumeric | boolean | match alphanumeric data. use ` true ` for alphanumeric and ` false ` for non alphanumeric values. |
You can’t perform that action at this time.
0 commit comments