i m using
$validator->addCallbackRule('email', 'check_email', 'Please enter valid email id');
i want to return message from callback function check_email, now my message is "Please enter valid email id"
i wanna return this message from my function .