• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
$this->validation->set_message fails for radio buttons.

#1
[eluser]Kenzie[/eluser]
I've set a radio group as required in the validation rules, and set a custom error message for required:
Code:
$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?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.