Sorry, maybe i didn't explained well the problem. I need to create a signup form where the user *must* indicate his date of birth, (i.e like this: http://uk.youtube.com/signup) I know that i can create 3 single selectfield: years, month, day and put them in a widgetlist, but after this i don't know how i can validate the age of the user to see if he has more then 18 years, or better, i can only create a validators that check his year of birth with the current year, but using this method is not accurate because i should check year, month and day with the current date, in order to see his correct age. So i would create a widgets that has 3 SingleSelectField where i can validate the age. >From where is hould start? Any help is really much appreciated.
On 10 Ago, 18:39, "Jorge Vargas" <[EMAIL PROTECTED]> wrote: > On 8/9/07, venomous <[EMAIL PROTECTED]> wrote: > > > Hello, > > how i can create a widget with thedateofbirth? > > i would create 3 selectfield like this: > > >DateofBirth: day | month | year > > > but form what i can see there is only the option for creating a > > singleselectfield > > make 3 field widgets then wrap it on a widget list, and build your > custom widget. > > > Thanks in advance for any suggestion. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

