I am setting up a form to do a lookup of a calc field based on a phone number entered. I have it more or less working except that would like the entry field to be in a specific format.
I would like to cistomer to enter the number in the number in the xxx-xxx-xxxx.
I have tried setting the element input type as phonenumber, and unsuccefully tried to use regex.
Any help appreciated
I would like to cistomer to enter the number in the number in the xxx-xxx-xxxx.
- Ideally would start with a blank field looking like xxx-xxx-xxxx
- As user starts to enter numbers, ideally would like them to enter the 10 digits and it will validate are numbers and put the '-' in the right place, so as the enter 1234567890 would show 123-456-7890 and then would run the calc.
I have tried setting the element input type as phonenumber, and unsuccefully tried to use regex.
Any help appreciated