![]() |
How to validate one data in model - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: How to validate one data in model (/showthread.php?tid=76672) |
How to validate one data in model - mmrtonmoy - 06-08-2020 Hi I am beginner at Codeigniter but I have 2 years experience in Laravel. I want to validate on data in model. Code: protected $validationRules = [ When I need to save only username and email data. It gives me a validate error message in form but when I give all columns data it's works perfectly. How I fixed this problem. |