Welcome Guest, Not a member yet? Register   Sign In
validate email and phone in form?
#1

[eluser]slothdog[/eluser]
i cant find any info on how to check a field to make sure its a phone number or email. could somebody point me to some info please? thanks!
#2

[eluser]roj[/eluser]
User guide: validation library and scroll to the Rule Reference section at the bottom.

There's valid e-mail but the phone number you'll have to use a series of rules...should be easy enough though
#3

[eluser]slothdog[/eluser]
thanks!
#4

[eluser]Daniel Peraza[/eluser]
I would suggest to take Regular Expressions into account when trying to write your own validation rule.




Theme © iAndrew 2016 - Forum software by © MyBB