stephenmcd/mezzanine — pull request #393 by mmuk2 (2012-09-04 02:48:47+00:00)
Title: added dob field to list of form fields

Hi Devo,

Hope all is well at your end.

Not sure if this functionality has already been catered for, but I thought I'd send over something that I've implemented across a few of our sites now.

It's basically a Date of Birth (DOB) field in the forms builder in Mezzanine. It works slightly differently from a normal date field because in a DOB field, we need to have the Year field in descending rather than ascending order.

Basically, I've just taken the current year and am descending back 120 years, as I'm thinking that will cover most ages.

Take a look and let me know if there are any issues.

cheers,
Mark