User profile - birthday

Danio - October 1, 2004 - 10:29

When a user signs up for an account, or edits his account, he has to put in the birthday because there aren't any blank options in the birthday menus. Is there a way to change that so users can choose whether or not they want to enter their birthdays?

I'm using 4.5 RC, btw.

All the profile fields are co

Boris Mann - October 1, 2004 - 19:19

All the profile fields are configurable, and you can set whether or not they are required.

AFAIK, there isn't even a "Birthday" field in a default install of 4.5RC. Did you do an upgrade from 4.4?

Date field in Profile should have blank option

Danio - October 1, 2004 - 23:30

Yeah I upgraded from 4.4.2.

I guess it's not just birthday. Applies to anything that uses a date in the profile.

I know it isn't required, but I want to leave the field available for those who do want to set their birthdays. By default the birthday is set to 2004 Oct 1, which means whoever don't want to set their birthdays end up using the 2004 Oct 1 birthday.

For example, the month menu has:

<option value="1">Jan</option>
<option value="2">Feb</option>
<option value="3">Mar</option>
<option value="4">Apr</option>
<option value="5">May</option>
<option value="6">Jun</option>
<option value="7">Jul</option>
<option value="8">Aug</option>
<option value="9">Sep</option>
<option value="10" selected="selected">Oct</option>
<option value="11">Nov</option>
<option value="12">Dec</option>

but if it let users leave the field blank, it'd be something like:

<option value="0" selected="selected"> -- </option>
<option value="1">Jan</option>
<option value="2">Feb</option>
<option value="3">Mar</option>
<option value="4">Apr</option>
<option value="5">May</option>
<option value="6">Jun</option>
<option value="7">Jul</option>
<option value="8">Aug</option>
<option value="9">Sep</option>
<option value="10">Oct</option>
<option value="11">Nov</option>
<option value="12">Dec</option>

There isn't that blank option available for the year, month, and day.

4.5 RC Not saving edited DATE

maptheway - October 2, 2004 - 04:46

I just posted this as a bug. In one member's PROFILE the DATE is being edited/updated and it WILL NOT save. I noted this in the BUG forum. It keeps reverting to 04/10/2004, can't get 2004 to change to 1967...

 
 

Drupal is a registered trademark of Dries Buytaert.