[eluser]polipspy[/eluser]
Hello
May I know what is the the key to set message in config file.
If I have this in my config/form_validation.php
$config = array(
array(
‘field’ => ‘username’,
‘label’ => ‘Username’,
‘rules’ => ‘required’
)
);
How do I add the set_message and set_error delimiters in the array?
$config = array(
array(
‘field’ => ‘username’,
‘label’ => ‘Username’,
‘rules’ => ‘required’
),
array(
‘rules’ => ‘unique_email’
‘message’ => ‘Email already registered’
)
);
Also how do I add the error delimiters in the array?
Thank you.