darren
October 21, 2020, 8:33pm
6
In addition to validating the phone number is input, if you have a standard format you are looking for you can format the number while the user is typing the number.
See:
Background
Currently I am working on a project that stores and retrieves phone numbers in AirTable. I was running into an issue with formatting the phone number correctly and I came up with a solution to format the phone number as you type in the text input.
Concept
Basically, every time the value changes, I strip out the non-number characters and then reformat the phone number in my desired format.
Goal
The following blocks format the number as: (###) ###-####
Properties
I also set the keybo…