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 Profiles (Moderator: Dave Greenberg) »
  • how to catch register date in a profile form
Pages: [1]

Author Topic: how to catch register date in a profile form  (Read 822 times)

brigittem

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 1
how to catch register date in a profile form
February 20, 2010, 09:07:37 am
Hi,

I'd like to catch the register date of a contact. When did he register with the profile form ?

I prefer not to use civicrm Membership.

Is there an easy way to catch the register date ? (an auto-filled custom data date ?)

Tanks

Brigitte

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: how to catch register date in a profile form
February 20, 2010, 10:38:08 am

dont have a UI driven auto-fill custom data date, but you can do the same via a hook and store the registration date in the custom date field. You'll need to use the postProcess hook

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmpostProcess

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

brigittem

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 1
Re: how to catch register date in a profile form
February 21, 2010, 08:22:26 am
Thank you. It's a to difficult for me. I'll manage with group added date.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • how to catch register date in a profile form

This forum was archived on 2017-11-26.