[eluser]Rob Stefanussen[/eluser]
Hi there, I'm developing an application, and running into a bit of a wall here.
Say you have a form with two fields
first_name which is an input
country which is a radio button with an option of US or UK which defaults to nothing selected.
let's also say the validation rule for both of these contains 'required'
now, submit the form blank.
Code:
$this->validation->error_string
// The first_name field is required
// The country field must have a value <-- notice the different wording
$this->validation->first_name_error
// The first_name field is required
$this->validation->country_error
// '' (empty string)
Why does a notice show up in $error_string, but I don't get a separate one?
Any help would be appreciated