Input array problem in class validation |
Hello,
Sorry for the inconvenience, when migrating my applications from CI3 to CI4, validations with input form as array do not work. I am trying to correct the system / validation / validation.php file Sorry for the English, I don't know much. PHP Code: This way it doesn't work
hi there, the validation is not done with [] but with dots.
Like so: https://codeigniter.com/user_guide/libra...are-arrays So instead of foo[bar] your would use foo.bar.
Website: marcomonteiro.net | Blog: blog.marcomonteiro.net | Twitter: @marcogmonteiro | TILThings: tilthings.com
(07-02-2020, 01:15 AM)marcogmonteiro Wrote: hi there, the validation is not done with [] but with dots.Thank you very much friend, I did not look at that detail in the manual, I will do the test. I had come up with those solutions momentarily, but in the manual it was clear XD PHP Code: system / validation / validation.php, function run() |
Welcome Guest, Not a member yet? Register Sign In |