CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Default for birth date field datepicker
Pages: [1]

Author Topic: Default for birth date field datepicker  (Read 4466 times)

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Default for birth date field datepicker
July 26, 2010, 11:54:37 am
I think having "today" as the default for the birthdate datepicker isn't too useful, but I'm not sure what an appropriate default would be. Average age according to http://factfinder.census.gov/servlet/GCTTable?_bm=y&-geo_id=01000US&-_box_head_nbr=GCT-T2-R&-ds_name=PEP_2009_EST&-format=U-40Sa is 36.

Or have a configuration setting, e.g. if your site caters mostly to seniors or teens.

Thoughts?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Default for birth date field datepicker
July 26, 2010, 06:14:11 pm

i think might be easiest if we just dont set a default for birth date. chances of us getting the right day/month/year are quite small

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Default for birth date field datepicker
July 27, 2010, 07:08:47 am
The default is blank, but the datepicker has to display some kind of calendar when it pops up, so it ends up picking today when it's blank.

Not a high priority thing, just wondering if anyone has any ideas since obviously "today" is never the right date, and because the year scrollbox involves multiple finger movements to scroll back, I was thinking setting it to an earlier year might at least have the correct year be already visible in the range that the scrollbox initially displays, so it would cut down on scrolling.

But I guess that would cause the field value to initially display 1970/1/1 or whatever, which yes is probably not right - you'd have to clear the field if you didn't want to enter a date. The widget would need to function differently to interpret blank as something other than today.

Ok, nevermind.

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: Default for birth date field datepicker
October 29, 2010, 10:10:47 am
Acutally, its a problem because the datepicker requires you first change the year and then the day/month.  if you just change the year, it will not work - and we have had several complaints about that.  at least if it defaults to blank it might be more intuitive.  i'm logging this as a bug anyway - user should be able to select in month and then year.

jalama

  • I post frequently
  • ***
  • Posts: 176
  • Karma: 22
    • Rooty Hollow LLC
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6 and 7
  • MySQL version: 5.1
  • PHP version: 5.2.5 and 5.3
Re: Default for birth date field datepicker
June 07, 2011, 12:30:31 pm
Yea we generally hate the date picker it's clugey and we have people picking the wrong year about 20% of the time.  For example we have people picking 2011 for their birthday.

Anything done to allow the old style to come back would be much appreciated,
http://www.rootyhollow.com

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Default for birth date field datepicker

This forum was archived on 2017-11-26.