• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Messages In This Thread
Valdating field with spaces - by El Forum - 09-11-2012, 04:18 AM
Valdating field with spaces - by El Forum - 09-11-2012, 04:26 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.