+ Start a Discussion
VeniVeni 

SSN Number Verification

Can some one help me in Validating SSN Number
Cool_DevloperCool_Devloper

I think that does not explain much!

Could you please elaborate?

Cool_D

VeniVeni
SSN (Socail Security Number) To validate whether its a valid SSN or Not
Cool_DevloperCool_Devloper

you can probably use some callouts to invoke the services which might do this for you!

Cool_D

MycodexMycodex

Verifying that the person actually matches the SSN or that the SSN is in the correct format? For the latter, use regex. Salesforce has an example validation rule on their help pages. The same regex can be used in whatever you code in.

 

 

NOT( OR( ISBLANK(Social_Security_Number__c), REGEX( Social_Security_Number__c , "[0-9]{3}-[0-9]{2}-[0-9]{4}") ) )

 

I'm not too sure about verifying the SSN is actually matched to the contact though. We supply questionnaires that request SSN and a reply triggers a background check through a 3rd party. If the background check fails due to invalid SSN, we then have to work with the contact to make sure they entered it correctly.