Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter Form Validation for a Name


When a form takes a person's name as input, it is usually two or three strings separated by spaces i,e. Henry David Lee.

However going through CodeIgniter validation rules I couldn't find any rule which supports this.

I could find alpha and alpha_dash which wont validate a name.

Maybe something like alpha_space is needed so that we dont need to create callback functions for it.

Please correct me if I have missed something.

Messages In This Thread
CodeIgniter Form Validation for a Name - by june123 - 06-27-2017, 02:56 AM

Theme © iAndrew 2016 - Forum software by © MyBB