Welcome Guest, Not a member yet? Register   Sign In
Valdating field with spaces
#1

[eluser]Swayam[/eluser]
Hello Guys..


I am validating a form in which there is a field with the name of job title..i am setting the rules like..
Code:
$this->form_validation->set_rules('title', 'Job Title', 'required|alpha');
but it won't allow spaces..

So anybody plz help me... Thnks in advance
#2

[eluser]Bias Tegaralaga[/eluser]
because space is not alphabetical characters.




Theme © iAndrew 2016 - Forum software by © MyBB