CodeIgniter Forums
$this->validation->set_message fails for radio buttons. - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: $this->validation->set_message fails for radio buttons. (/thread-11223.html)

$this->validation->set_message fails for radio buttons. - El Forum - 08-30-2008

I've set a radio group as required in the validation rules, and set a custom error message for required:
$this->validation->set_message('required', 'Required!');

The custom error message is shown for all input fields, but the radio error remains the default: "The ... field must have a value".

Why isn't it using the defined "required" error message?