Move longform phone number validation into a helper