Welcome Guest, Not a member yet? Register   Sign In
Validation for phone no
#6

[eluser]quest13[/eluser]
Thanks for the information.But my problem is not solved.I do want to display the user that the telephone number is not numeric if he keys in otherwise.But I am not able to use any of the CI library class to fulfill my requirement.

I don't want specific to US or UK phone numbers.My requirement is simple.Firstly, It will check for the blank data, that is easily checked with 'required' class and I did it.Secondly, if the user keys in anything other than numeric or '-' or '+',. I want to prompt the user that the number keyed in is invalid.


Any more suggestions ?


Thanks in advance.


Messages In This Thread
Validation for phone no - by El Forum - 06-19-2009, 02:53 AM
Validation for phone no - by El Forum - 06-19-2009, 02:57 AM
Validation for phone no - by El Forum - 06-19-2009, 03:43 AM
Validation for phone no - by El Forum - 06-19-2009, 03:45 AM
Validation for phone no - by El Forum - 06-19-2009, 03:52 AM
Validation for phone no - by El Forum - 06-21-2009, 11:45 PM
Validation for phone no - by El Forum - 06-21-2009, 11:47 PM
Validation for phone no - by El Forum - 06-22-2009, 12:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB