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

Question

Question

How to create last 4 digits in ssn and css and javascript

asked on June 9, 2021 Show version history

Hello, 

I create an Social Security Number field with ref ^\d{3}-?\d{2}-?\d{4}$ but now I'm looking last of 4 SSN digits and the format I am looking for like this: ***-**-0000?? I s there a way to create the this format???

SS1P.JPG
SS1P.JPG (14.27 KB)
0 0

Replies

replied on June 9, 2021

Hi Donovan,

It seems you might be asking about "field masking", where the user sees the first five digits of the SSN they enter as asterisks/dots, but the full unmasked value is still known/stored by Forms. Is that correct or are you looking for something else?

0 0
replied on June 9, 2021

Actually, now I'm looking for when a user enter there SSN the numbers become asterisks while entering there SSN? 

0 0
replied on June 9, 2021 Show version history

On submission, do you want Forms to store the whole SSN with all the actual numbers (123-45-6789) or the masked value (***-**-6789)?

0 0
replied on June 9, 2021 Show version history

Hey Samuel, How do you masked value the whole SSN??

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

Sign in to reply to this post.