CodeIgniter Forums
match rule, possible bug - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: match rule, possible bug (/showthread.php?tid=15914)



match rule, possible bug - El Forum - 02-18-2009

[eluser]bgreene[/eluser]
i have the following
$val->set_rules('edtpword1', 'lang:cr_password1', 'trim|required|matches[edtpword2]');
$val->set_rules('edtpword2', 'lang:cr_password2', 'trim|required');
if they don't match, 'lang:cr_password1' is correctly pulled up from the lang file but 'lang:cr_password2' is not so the error message says
"The Password field does not match the lang:cr_password2 field."
both password labels exist.
Congrats on producing a sooper dooper development system and very many thanks


match rule, possible bug - El Forum - 02-19-2009

[eluser]drewbee[/eluser]
Yup. This has been reported : http://codeigniter.com/bug_tracker/bug/6774/