Welcome Guest, Not a member yet? Register   Sign In
Bug in form_validation [matches & input array]
#1

[eluser]K-coder[/eluser]
Hello,

I can't check matches password if the password inputs is array

ex:

HTML
Code:
<input name="password[pass1]" type="password">
<input name="password[pass2]" type="password">

PHP
Code:
$this->form_validation->set_rules('password[pass1]', 'Password', 'required');
$this->form_validation->set_rules('password[pass2]', 'Password Confirmation', 'required|matches[password][pass1]');




Theme © iAndrew 2016 - Forum software by © MyBB