Skip to main content
Conversation Starter
May 8, 2024
Solved

Adding the phone number field to a template

  • May 8, 2024
  • 11 replies
  • 7126 views

Hi, I need to add the phone number field to a template, something like (###) ###-####. I have tried to create a custom field, but to no avail. Can anyone help me? TY!

Best answer by NOAHLNJ

Add a text field, and on the right click “validation”, click the dropdown and click custom. This will let you enter a line of code. Here is the code for the phone number. 

 

^(\\([0-9]{3}\\)|[0-9]{3}-)[0-9]{3}-[0-9]{4}$

11 replies

mshealy
Established Contributor
Established Contributor
July 17, 2024