Question
2
Replies
1076
Views
NASCO
Posted: June 16, 2017
Last activity: February 20, 2019
Closed
auto format phone number as user types in
Is there a way to format text as user types in text box rather than using control to format onchange ?
we want user to allow only 15 digits without considering these special chars : () - #
also user should be able to edit portion of number after its formatted.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Hi Mohit,
If I understand your requirement correctly then I think you can use Edit-Input to format the text value. Pls have a look at the below article.
https://pdn.pega.com/community/pega-product-support/question/edit-input-code-phone-number-xxx-xxx-xxxx