client side phone input validation