On 4/1/07, James Bennett <[EMAIL PROTECTED]> wrote:
> Sounds good to me. Based on that, I'll whip up a US SSN field, and I
> think that following this it will:
>
> 1. Validate the number of digits (9).
> 2. Validate that the number is not one which is known to be
> permanently invalid (there aren't many of these and they're easy to
> test for).
>
> And leave it at that. Sound good to everyone?

Sounds good. You've probably already thought of this, but it should
accept numbers with or without hyphens, and normalize it to the number
*with* hyphens.

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to