[eluser]eranbe[/eluser]
just to make things more clear,
This is an example of the code i want to run in my controller:
$this->form_validation->set_rules('userEmail', 'email', 'required|xss_clean|trim|valid_email|min_length[6]|max_length[100]');
$this->form_validation->set_rules('userPassword', 'password','required|xss_clean|trim....')
if ($this->form_validation->run())
{
$this->form_validation->set_rules('userEmail', 'email', 'callback_check_user_and_password');
if ($this->form_validation->run())
{
...
}
}