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) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Replacing Date Picker?
Pages: [1]

Author Topic: Replacing Date Picker?  (Read 831 times)

thesamim

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
Replacing Date Picker?
April 07, 2010, 09:33:58 pm
Is there any way, without huge code changes, to replace the "Datepicker" widget to a Text Entry field?

Problem statement:
Our organization has to go through a massive data clean up effort because of legacy data issues. A large number of the problems are date related. It is taking the temp folks hired to this a significant amount of time to pick the date for each instance of a date being wrong. (Obviously: Significant because they have to make MANY date corrections - not that each date correction is taking a significant amount of time...)

Ideal solution:
A Global configuration setting which tells CiviCRM: Use text fields for all Date fields, rely on back end validation.

Any thoughts/ideas/suggestions would be most welcome.

Thanks.

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: Replacing Date Picker?
April 07, 2010, 09:36:26 pm

no

your best bet might be to do your data cleanup OUTSIDE of civicrm and then import a set of clean data

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

ccowens

  • Guest
Re: Replacing Date Picker?
April 22, 2010, 12:22:24 pm
I'd like to add this as a feature request and offer to code it, as the date picker is hanging us up, too.

My first thought is to look at the UI for defining custom data fields... when you select certain types of field, you are next presented with a choice of what sort of widget is used for UI:  radio button, select, etc.   You could do the same thing for date fields: ask whether they are to be entered / displayed via a date picker or via text input.

  • Does the question of UI logically belong with the field definition, or with the profile definition?
  • Is there a logically consistent way to do this for built-in fields as well as custom fields?

TwoMice

  • I post frequently
  • ***
  • Posts: 214
  • Karma: 16
    • Emphanos
  • CiviCRM version: Always current stable version
  • CMS version: Drupal 7
Re: Replacing Date Picker?
April 22, 2010, 12:38:32 pm
I'm also interested in this topic.  There is in fact a significant difference in the time it takes to pick a date and the time it takes to key it in.  The visual interface is nice and user-friendly for some users, but when modifying or entering more than a few records, speed does become an issue.

+1 on discussing ways of allowing user to type date into date fields.
Please consider contributing to help improve CiviCRM with the Make it Happen! initiative.

thesamim

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
Re: Replacing Date Picker?
April 22, 2010, 07:56:18 pm
IMHO: The UI Style decision belongs with the field definition.

As to second question: I may be limiting the discussion a bit, because I'm only thinking of Dates at this point, but it seems that the UI Style should be set regardless of whether it's a custom of built in field.

I'm not a PHP developer, but it seems to me that the Date fields are handled relatively centrally, regardless of whether it's a custom field or a built in field and so the UI decision could be handled the same way for both.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Replacing Date Picker?

This forum was archived on 2017-11-26.