Welcome Guest, Not a member yet? Register   Sign In
validation set message in config file
#1

[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.


Messages In This Thread
validation set message in config file - by El Forum - 07-01-2009, 03:23 AM
validation set message in config file - by El Forum - 07-01-2009, 04:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB