Hello, I would like to add a new required field in my signup page for the birthdate but I want a field separated in 3 part like : dd mm yyyy (one field for the day, one field for the month and one field for the year). Someone know the issue ? Thanks
If you simply wish to have them stored in the DB as 3 separate fields then its simply a matter of going to the admin control panel and under utilities theres an option for add fields, to set fields up for day month and year. It allows you to add fields and specify what forms they appear on. It also allows you to set up selection values by creating an array. e.g 1-31 for day , 1-12 for month etc On the other hand if you wish to inout the fields in 3 separate input boxes but actually stored as a contiguous date field then you have some programming to do
binbin, is there a reason why you want to store them as 3 separate fields? As calisolllc suggests, programmatic speaking you are much better off storing them as a date field and manipulating for your needs from that (http://php.net/date)
Yes it's for the user, if he must fill the field of his birthdate in one field he will probably wonder if he must type a : space, a /, nothing... and because ti will be a required field I don't want he left the form because he can't at the first time to type his birthdate correctly. Do you understand waht I mean ? I'm enough clear? Thanks