Answers.Body: <p>Here’s the solution to the issue you're facing –
  <a href="https://civicrm.org/extensions/no-overwrite" rel="nofollow noreferrer">https://civicrm.org/extensions/no-overwrite</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-28T08:14:50.977Z
Answers.Text: This looks perfect, thank you!
Answers.UserDisplayName: Robin Fenwick
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-27T15:57:28.923Z
Answers.LastActivityDate: 2019-06-28T11:13:54.987Z
Answers.LastEditDate: 2019-06-28T11:13:54.987Z
Answers.UserDisplayName: Anil
Body: <p>We have recently required users to be logged in to access member-only discounts when booking events.</p>
  
  <p>We are finding that some people are logging in and then booking on behalf of a colleague.  They don't book for / attend the event themselves.  They're currently missing the "Not X, or want to register a different person?" link at the top of the booking form.</p>
  
  <p>So they are overwriting their own pre-filled details in the profile.</p>
  
  <p>When they submit the form, eg at:
  <a href="https://culturalenterprises.org.uk/?page=CiviCRM&amp;q=civicrm%2Fevent%2Fregister&amp;id=288&amp;reset=1" rel="nofollow noreferrer">https://culturalenterprises.org.uk/?page=CiviCRM&amp;q=civicrm%2Fevent%2Fregister&amp;id=288&amp;reset=1</a></p>
  
  <p>it then updates some details. Most commonly it will update the title, and email, but leave the contact first name and last name unchanged. </p>
  
  <p>Is there any way I can stop CiviCRM from doing this on event registrations?  When I look at the profile settings it is set to update the matching contact when it detects a duplicate, and I'm wondering if that's what is at issue here. (Though obviously I don't want to turn that off!) </p>
  
  <p>I am guessing that this is intended behaviour as CiviCRM assumes the logged in use is providing updated information for themselves?</p>
  
  <p>Thank you</p>
  
  <p>CiviCRM 5.13.4 on Wordpress.</p>
  
Tags: <civievent><contacts>
Title: Logged in user registers for an event on behalf of a colleage, unintentionally overwrites their contact record details
ThreadText: # Logged in user registers for an event on behalf of a colleage, unintentionally overwrites their contact record details
  
  (Asked by: username_0 on 2019-06-27)
  
  We have recently required users to be logged in to access member-only discounts when booking events.
  
  We are finding that some people are logging in and then booking on behalf of a colleague. They don't book for / attend the event themselves. They're currently missing the "Not X, or want to register a different person?" link at the top of the booking form.
  
  So they are overwriting their own pre-filled details in the profile.
  
  When they submit the form, eg at:
  <https://culturalenterprises.org.uk/?page=CiviCRM&q=civicrm%2Fevent%2Fregister&id=288&reset=1>
  
  it then updates some details. Most commonly it will update the title, and email, but leave the contact first name and last name unchanged.
  
  Is there any way I can stop CiviCRM from doing this on event registrations? When I look at the profile settings it is set to update the matching contact when it detects a duplicate, and I'm wondering if that's what is at issue here. (Though obviously I don't want to turn that off!)
  
  I am guessing that this is intended behaviour as CiviCRM assumes the logged in use is providing updated information for themselves?
  
  Thank you
  
  CiviCRM 5.13.4 on Wordpress.
  
  **Tags:** civievent, contacts
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-06-27. Score: 2 | Accepted answer
  
  Here’s the solution to the issue you're facing –
  <https://civicrm.org/extensions/no-overwrite>
  
  > **Comments:**
  > **username_0**: This looks perfect, thank you!  
  
  ---
  
  