Masking option in AEM form fields

Avatar

Avatar
Validate 10
Level 3
rohitn62196663
Level 3

Likes

12 likes

Total Posts

66 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
rohitn62196663
Level 3

Likes

12 likes

Total Posts

66 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
rohitn62196663
Level 3

04-04-2018

I am trying to mask a form field which has SSN. Once the user tabs out of the field it should display xxx-xx-1234. I have looked into patterns option but I think that helps only to format the field. Is there any option to provide the masking format as well similar to pattern or do I need to write javascript for that ?