Welcome Guest, Not a member yet? Register   Sign In
translation doesn't work with second field name in "matches" validation rule
#1

[eluser]rparavicini[/eluser]
I'v got a problem with the validation of a password and a password confirmation field.
I use the following validation rules (together with others):

Code:
$this->form_validation->set_rules('password', 'lang:regbox_Password', 'required');
$this->form_validation->set_rules('passconf', 'lang:regbox_Password_confirmation', 'required|matches[password]');

The following error message appears when the passwords dont match:
Code:
The Password confirmation field does not match the lang:regbox_Password field.

As I seem to be to stupid to find the code which processes and populates the error messages, I can't check if its a CI bug or if I made some mistakes. As the "lang:" part is stil in the human readable name, I conclude that the second field name is never translated, or am I wrong?

Thx in advance for any help *g*


Messages In This Thread
translation doesn't work with second field name in "matches" validation rule - by El Forum - 05-15-2009, 07:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB