I am using the memberprofile module. To add a date field for Date of Birth and a Gender dropdown, I have extended the Members class by doing the following:
class Customregfields extends DataObjectDecorator{
function extraStatics(){
return array(
'db' => array(
'Gender' => "Enum(',Male,Female','')",
'DOB' => "Date"
);
}
}
What do I need to do to achieve the following?
1. Have the Date of Birth field display in the frontend registration form as three dropdowns Day, Month, Year.
2. Change the Gender dropdown to radio buttons.