Mandatory fields revisited: DOB

This is with regard to http://www.boonex.com/unity/forums/#topic/BUG-Profile-Fields-Stuck-On-Mandatory.htm

But specifically DOB, making it non-mandatory and removing the min and max values as advised.

----------------------------------------------------------------------------------------------------------

As I said this is after I have make Date Of Birth (DOB) a non-mandatory field in the edit profile section and have removed DOB from the join form (makes sense as some people do not like specifying their age)

Scenario 1

I leave the max (99) and min (18) ages with values in.

Result: I cannot save the edited profile record as I have 0000-00-00 in the DOB field.

Scenario 2

I delete both the minimum and maximum age from date of birth

Result: When a user goes to edit their profile, the date of birth calendar will only let you select year 2010. Nothing above or below.

Scenario 3

I put the value 18 in the minimum field of DOB and leave the maximum field blank.

Result: In edit profile, the DOB calendar will not let you select any year and a blank space which is not a year.

Scenario 4

I put the value 99 in the maximum field of DOB and leave the minimum field blank.

Result: In edit profile, the DOB calendar will let me select a field (YAY!) but if I leave the age as 0000-00-00, it will not let me save the record (NOOOOO!).

Quote · 22 Jan 2010

http://www.boonex.com/trac/dolphin/ticket/1771

Rules → http://www.boonex.com/terms
Quote · 25 Jan 2010

I just noticed this issue.  Same exact problems as described. If this is fixed, can we have a set of files or code to update?

Quote · 1 Feb 2010

http://www.boonex.com/trac/dolphin/changeset/13617/

Rules → http://www.boonex.com/terms
Quote · 1 Feb 2010

Thanks, I will test this out tomorrow.

Quote · 3 Feb 2010

Has anyone checked to see if leaving the DOB out will cause the profiles to not show up as happened in D6.1?

Quote · 3 Feb 2010

Just checked the most recent version of D7. Yes you can leave out DOB completely and profiles show up without a problem.

Quote · 3 Feb 2010

I skipped this issue as it seemed to fix itself.

I don't know which fixed the issue, one of the 2 following things:

1. Possibly because I reset min age to 18 & max to 99 while setting DOB to not be required.

2. Possilbly because I reverted to non-minified JS code.  I coded a batch file that would minify all the code JS files using jsmin but there's a possibility that the minification introduced a defect.

Was just trying to save the initial JS load performance but in the grand sceme of things saving 30K in download for now isn't worth it until I get a chance to test which of the changes I reverted corrected the issue.

Quote · 5 Feb 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.