[eluser]überfuzz[/eluser]
Slightly off topic, but it might help you...
I see no real backside of having the validation set-up in the controllers. And it's very tricky to separate the validation from the controller. There is a way to make the controller tidy, or tidier, even with the validation in the controller. Separate the validation and put it in a function.
Code:
function _validate_form_fields()
{
$this->form_validation->set_rules('name', 'Name', 'trim|required');
//Etc...
return $this->form_validation->run();
}
I normally use it like this.
Code:
if($this->_validation_form_fields())
{
$this->index();
}
Even if you're putting the form_validation in the controller it doesn't feel bloated.