[eluser]EugeneS[/eluser]
Hi,
i have a question according to the validation library:
lets say i have 2 fields in the form one is required another one not
Code:
$rules['Phone'] = 'trim|required';
$rules['Company'] = 'trim';
$this->validation->set_rules($rules);
$valid_result = $this->validation->run();
after the validation, required field is accessible through the
$this->validation->Phone;
but not required field not accesible as
$this->validation->Company;
my question is whats wrong and why the second one not accessible ? :\
i'm using not the latest version, might be in the latest version this was fixed ?
as i saw CI 1.6.1 Validation class still not support UTF8 ?
so if that problem with required/not required fields was fixed in 1.6.1 i have to rewrite Validation library to support UTF8 again, if problem wasnt fixed i wont rewrite it
Thanks.