Is it possible to change the output of the matches
call when running form validation in CodeIgniter?
I'm validating a password against a confirm password box.
array(
'field' => 'userPassword',
'label' => 'Password',
'rules' => 'trim|required|matches[userConfPassword]'
)
But when the error is triggered it prints out:
The Password field does not match the userConfPassword field.
The user has no idea was userConfPassword
means and I'd like to change that to something more friendly. Reading the docs I can't find a way to do it.