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) »
  • Custom Field for Time?
Pages: [1]

Author Topic: Custom Field for Time?  (Read 323 times)

markjohan

  • I post occasionally
  • **
  • Posts: 102
  • Karma: 0
  • ..
  • CiviCRM version: 4.4.2
  • CMS version: Wordpress 3.6.1
  • MySQL version: 5.1.66-0+squeeze1
  • PHP version: 5.3.27
Custom Field for Time?
March 12, 2014, 02:32:52 pm
Hello,

Is it possible to make a field for time?

Thanks!

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Custom Field for Time?
March 12, 2014, 03:47:47 pm
You need to provide more information.  Do you mean an instant in time (2014-03-25 14:52:11) or a time interval (2-4 pm) or elapsed time (2 hours)?  What is your use case?

markjohan

  • I post occasionally
  • **
  • Posts: 102
  • Karma: 0
  • ..
  • CiviCRM version: 4.4.2
  • CMS version: Wordpress 3.6.1
  • MySQL version: 5.1.66-0+squeeze1
  • PHP version: 5.3.27
Re: Custom Field for Time?
March 13, 2014, 02:03:21 am
Hello,

It is for a custom field, so users can choose a callback time for clients.
So is there some way to get a field just for time, or do i have to use a default text field with 08:00..

What is the best way to do this?

Thanks everyone!

markjohan

  • I post occasionally
  • **
  • Posts: 102
  • Karma: 0
  • ..
  • CiviCRM version: 4.4.2
  • CMS version: Wordpress 3.6.1
  • MySQL version: 5.1.66-0+squeeze1
  • PHP version: 5.3.27
Re: Custom Field for Time?
March 14, 2014, 06:16:51 am
So there is no way to do this?

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Custom Field for Time?
March 14, 2014, 02:32:52 pm
so you are wanting to just collect the time but no date?

not afaik - the most stripped down would be a custom date field with just yyyy

see in the Constituent Info block at bottom of eg http://drupal.demo.civicrm.org/civicrm/contact/view?reset=1&cid=202

so I set default year of 2014 but at least you get a real time format field
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

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

This forum was archived on 2017-11-26.