You are viewing limited content. For full access, please sign in.



Format imported social security number with dashes

asked on November 2, 2021

I'm importing the social security number from the core. I'd like for it to automatically format when it's pulled in. Can anyone assist me on that? 

Thank you.

0 0


replied on November 2, 2021
0 0
replied on November 3, 2021

You tagged this post with Forms. So I assume you are using a lookup to pull in an SSN number into a form field. 
If so, regular expressions is no help. 
You'll most likely need to use JavaScript.

If you assign the class ssn on your ssn field, you can use the code below.

	$.getScript('', function(){
			$(".ssn input").mask("999-99-9999");


1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.