not_in_list form validation |
The way I do it is the following:
PHP Code: if ($this->request->getMethod() !== 'post' || !$validation->withRequest($this->request)->run()) The reason being validation doesn't fail when nothing is submitted.
Simpler is always better
|
Messages In This Thread |
not_in_list form validation - by GotExx - 01-28-2020, 06:37 AM
RE: not_in_list form validation - by donpwinston - 01-28-2020, 12:14 PM
RE: not_in_list form validation - by GotExx - 01-29-2020, 06:25 AM
RE: not_in_list form validation - by donpwinston - 02-02-2020, 08:22 PM
|