I want to validate a field,
I am using the CI form validation library,
Just for in case, i want to validate a name field,
So i want to set the rules like this..
$this->form_validation->set_rules('title', 'Title', 'required|min_length[2]|alpha');
but the problem is that, when i am entering the value as "Saswat Routroy",
Then also its stating me that "Title field must contain alphabets."
How can i set rules so that anything other than alphabets and the space will be restricted.
Note: I dont want to use any callback function