I've previously only ever used the civicrm_subscribe module for collecting E-mail addresses, but we now have need for collecting the First and Last Names as well, so this is the first time I'm looking into trying to get those fields as well.
But when I fill out the form at www.example.com/user/subscribe, it only writes my email to the CiviCRM database and doesn't seem to do anything with the First Name and Last Name that I input.
Does anyone else have this issue or use this module (successfully or unsuccessfully) to grab First and Last Names?
Is it supposed to collect these? (I would assume so, since they are included in the form)
Comments
Comment #1
Anonymous (not verified) commentedI can confirm your issue: first and last names are not written in CiviCRM.
Comment #2
douggreen commentedThanks! I just checked in a fix for this, please confirm that it works.
Comment #3
Anonymous (not verified) commentedConfirming that first and last names working: great!
I tested only with civicrm (no drupal users).
Correct me if I am wrong: when an emailadres is present in civicrm then the new first and lastname do not overwrite the existing.
Comment #4
douggreen commentedThat's correct. I think that it only makes sense to update these values if they weren't already set, otherwise, someone unknown user could change all of your contact names. So, I just added some code (and checked it in) to set the name when they are not already set. Please test this latest change and mark as "fixed" if it works for you. Thank!
Comment #5
douggreen commentedWith one week pasing an no confirmation from @msn, I think that I addressed the emailaddress issue, so I'm marking as fixed.
Comment #6
Anonymous (not verified) commentedSorry, I did not read in this forum last week.
My 'overwriting' issue was ment as a remark: I was searching for a conformation, wich you made, thanks.
I did not test the last update, because I switched over to a civicrm profile ( I am not using the drupal user function) with more fields to fill in for a newsletter account.
Comment #7
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.