Brian Dunning's FileMaker Custom Functions

SSNValidate ( SSN )

Basic validation for social security numbers

  Be the first to rate this function Log in to vote

Travis Wilton   Travis Wilton - Show more from this author
Entellic Corporation

Share on Facebook Share on Twitter

  Sample input:
SSNValidate ("123456789")
  Sample output:
Dummy SSN

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Performs the following checks on a SSN:
1. Cannot begin with 9
2. 9 digits long (without hyphens)
3. If hyphens exist, they are both in the correct place
4. Contains only digits and hyphens
5. First 3 digits cannot be 000 or 666
6. Next 2 digits cannot be 00
7. Last 4 digits cannot be 0000
8. Cannot be a known dummy number



Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 18 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: