Skip to main content
added 341 characters in body
Source Link
alec
  • 407
  • 2
  • 11

During Drupal's normal user registration process (a user registering their own self, as opposed to an admin registering a user) a Civi contact record is created for that user. That works fine but the only data set for the contact record is the email address. How do I set it up so that the contact's First and Last Names are set during that process?

Currently I have fields on the user profile for first and last names. Is there a hook I can use to save these values to the contact record?

I don't see any configuration options for this sort of thing. I'm kind of mystified by the lack of info on this particular use case when I search the web, as it seems like a standard scenario.

During Drupal's normal user registration process (a user registering their own self, as opposed to an admin registering a user) a Civi contact record is created for that user. That works fine but the only data set for the contact record is the email address. How do I set it up so that the contact's First and Last Names are set during that process?

During Drupal's normal user registration process (a user registering their own self, as opposed to an admin registering a user) a Civi contact record is created for that user. That works fine but the only data set for the contact record is the email address. How do I set it up so that the contact's First and Last Names are set during that process?

Currently I have fields on the user profile for first and last names. Is there a hook I can use to save these values to the contact record?

I don't see any configuration options for this sort of thing. I'm kind of mystified by the lack of info on this particular use case when I search the web, as it seems like a standard scenario.

Source Link
alec
  • 407
  • 2
  • 11

How to set contact name during Drupal's user registration?

During Drupal's normal user registration process (a user registering their own self, as opposed to an admin registering a user) a Civi contact record is created for that user. That works fine but the only data set for the contact record is the email address. How do I set it up so that the contact's First and Last Names are set during that process?