Make a user input phone number display as (xxx) xxx-xxxx on entry.

Hi,

Thank you for helping me with this. I plugged in the code (the first one) but when I put in a phone number it doesn’t change the number to the format. Anything else I need to put in? Does the code need a trigger?