How to use keystroke to mimic an arbitrary mask? Trying to recreate 999-9999-9999[^a-zA-Z]{0,1}
I'm trying to create a field that allows you to enter numbers without dashes but displays and enters like an arbitrary mask with the following format 999-9999-9999[^a-zA-Z]{0,1}, where the last character is not required but only allows for one(1) character if entered.
I have tried a mask but the last character is alluding me. I have tried 999-9999-9999X which works but requires me to enter something for that last character, if only a space. I am not very familiar with keystroke scripting and think this might be the answer, possibly with a validation script too. I could use some direction.
Thanks
