Skip to content

Updated checks for less than and greater than#9

Open
harpreetsb wants to merge 1 commit intolumoz:masterfrom
harpreetsb:patch-4
Open

Updated checks for less than and greater than#9
harpreetsb wants to merge 1 commit intolumoz:masterfrom
harpreetsb:patch-4

Conversation

@harpreetsb
Copy link

example: I dont want field name to be less then 1.

$prop->validation->num_lt(array("field_name"), 1, "required");
                if (!$prop->validation->is_valid()){
                    $prop->helper->sendResponse(400, $prop->validation->get_error());
                }

example: I dont want field name to be less then 1.
```php
$prop->validation->num_lt(array("field_name"), 1, "required");
				if (!$prop->validation->is_valid()){
					$prop->helper->sendResponse(400, $prop->validation->get_error());
				}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments