Add Phone mask like (999) 999-9999 on phone input in vbcs
Summary:
I want to add a phone mask to phone input component/text input component. When user starts typing the phone number, it must be auto formatted in the format (999) 999-9999. Is there any way to get character keycode in keypress or keyup event? so that I can implement the masking shown here https://stackoverflow.com/questions/12578507/implement-an-input-with-a-mask
Content (required):
I want to add a phone mask to phone input component/text input component. When user starts typing the phone number, it must be auto formatted in the format (999) 999-9999. Is there any way to get character keycode in keypress or keyup event? so that I can implement the masking shown here
Tagged:
0