![]() |
(11-19-2021, 03:25 AM)InsiteFX Wrote: CodeIgniter 4 Validation Library - eithRequest() I've scoured that page and I did not seeing anything on how to get the label to the Validation class. But your direction gave me an idea which wasn't spelled out in the documents (some of us need real world examples beaten over our heads). So here's the solution for anyone wanting it. MyController.php PHP Code: $this->validation->setRules([ MyValidationRules.php PHP Code: class MyValidationRules Thanks for the help! |
Messages In This Thread |
Validation Class passing field name - by sevmusic - 11-18-2021, 12:10 PM
RE: Validation Class passing field name - by InsiteFX - 11-19-2021, 03:25 AM
RE: Validation Class passing field name - by sevmusic - 11-20-2021, 07:51 AM
|