A valid SSN is formated like this: xxx-xx-xxxx. The first three digits have to do with zip code of the person's place of birth. Prior to 1973 it was the local Social Security field office number.
* The first three digits will never be "000". * The first three digits will never be above "770". The next two digits are the Group number, which has to do with the order in which SSN's are issued within a particular geographical area. * The next two digits will never be "00". The last four digits are the serial number of the individual. Based upon the other two codes, there can only be a possible "high number" at any point in time. A list of those high numbers can be found here: http://www.ssa.gov/foia/highgroup.htm * The last four digits will never be "0000". For more information on validating SSN's go to: http://www.cpsr.org/cpsr/privacy/ssn/ssn.structure.html ---mark ======================================================== Mark Warrick ([EMAIL PROTECTED]) Founder, Fusioneers.com / CTO, ZapConnect.com Phone: 714-547-5386 / 714-667-0203 / Efax: 801-730-7289 http://www.warrick.net / http://www.fusioneers.com http://www.zapconnect.com ICQ: 125160 AIM: markwarric Yahoo: Serengeti ======================================================== > -----Original Message----- > From: Shawn Grover [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 21, 2002 2:52 PM > To: CF-Talk > Subject: OT: Canadian needs to know how US SSN values work > > > Forgive my lack of knowledge, but I need to write javascript > validation code > for US Social Security Numbers (SSN). > > In Canada, our equivalent numbers (SIN) has a specific length, and the > sequence of numbers must pass validation (i.e. "111 111 111" is > NOT a valid > SIN, even though it has the right number of characters). > > I have found a number of SSN validation routines, but they seem to only > check for blank values, and to make sure the SSN value (without any > separators) is nine characters. Is this sufficent enough? Do the numeric > values need to be a specific sequence? > > Thanks in advance. And sorry for the stupid simple question (for most of > you I'd imagine). > > Shawn Grover > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists