CodeIgniter Forums
How validate form like this ... - 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 validate form like this ... (/showthread.php?tid=90125)



How validate form like this ... - motoroller - 02-14-2024

I have form with two types:
1) id, kind (worker), comment
2) id, kind (manager), comment, salary, action

I have list workers and managers in this form, how i can validate all of them, but when i get manager type, i need validate extra fields salary, action?