Validation with nested input - 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: Validation with nested input (/showthread.php?tid=76557) |
Validation with nested input - troturier - 05-25-2020 Hi, I have some difficulties using certain validation rules with nested input, for example: Let's say I have this kind of form : PHP Code: <form id="userForm" accept-charset="utf-8" method="POST" > And this set of rules : PHP Code: <?php The "matches" rule seems to not be compatible with this kind of input. Am I missing something here? One workaround would be to retrieve the "user" array and to validate its data without using nested input. But I was wondering if I was just using the wrong syntax or something. Thanks! |