Answers.Body: <p>Thanks for everyone's input. It was a very odd matching rule, one that matched on last name with length = 1, weight = 1. I will see when this was added to the site.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-06T02:53:28.967Z
Answers.Text: Ouch. Ouch. Ouch (x3 to get over the minimum 10 characters for a comment!)
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-06T00:09:32.613Z
Answers.LastActivityDate: 2019-12-06T02:52:29.900Z
Answers.LastEditDate: 2019-12-06T02:52:29.900Z
Answers.UserDisplayName: LaurynnLowe
Answers.Body: <p>What is your Matching Rule in the Webform configured at? This is where you find that:</p>
  
  <p><a href="https://i.sstatic.net/Z6f3X.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Z6f3X.png" alt="enter image description here"></a></p>
  
  <p>Next -> post a screenshot of that Rule (in your CiviCRM config) as well as a Screenshot of your Webform tab (showing all the elements on the form as well as their Form_keys</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-05T03:04:22.493Z
Answers.LastActivityDate: 2019-12-05T03:04:22.493Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>Our form is overwriting existing contacts when a new submission is made. </p>
  
  <p>All of our dedup rules are related to same names and emails; I do not see any dedup rule that would overwrite a (seemingly random) contact record with a new contact's information. </p>
  
  <p>How can I prevent this in the future? </p>
  
  <p>This issue began with <a href="https://civicrm.stackexchange.com/questions/33851/what-would-cause-contributions-and-contacts-to-go-missing">my question here</a>.The suggestion was excellent, and helped me get to a better understanding of what happened. But I'm still missing precisely where the overwrite is happening. (To be fair, the full suggestion is to check the logs, but I lack the ability to write a query that pinpoints what I want to understand)</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-05T09:01:52.170Z
Comments.Text: for checking the logs try the log viewer extension: https://github.com/adixon/ca.civicrm.logviewer
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-05T15:21:59.670Z
Comments.Text: Can you be more specific about the form? Is it a Drupal webform, a profile form, a contribution form? Each of those has it's own configuration for how to handle potential duplicates.
Comments.UserDisplayName: Alan Dixon
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-05T19:14:29.920Z
Comments.Text: Are the forms being submitted by logged-in users, or 'anonymously'? If by logged-in users, see this extension - https://civicrm.org/extensions/no-overwrite
Comments.UserDisplayName: Joe McLaughlin
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-05T23:35:13.347Z
Comments.Text: thanks to all. @petednz - I am checking the logs, thanks.
Comments.UserDisplayName: LaurynnLowe
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-05T23:39:31.230Z
Comments.Text: @AlanDixon it's a drupal form with civi webform integration
Comments.UserDisplayName: LaurynnLowe
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-05T23:57:08.540Z
Comments.Text: @JoeMcLaughlin anonymous users overwrite existing contacts, so in this case the ext would not work. but thank you, because I have definitely encountered this in other situations.
Comments.UserDisplayName: LaurynnLowe
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-06T00:09:32.613Z
Comments.Text: Thanks for everyone's input. It was a very odd matching rule, one that matched on last name with length one, weight one. I will see this was added to the site.
Comments.UserDisplayName: LaurynnLowe
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-06T00:10:10.567Z
Comments.Text: I will see *when* this was added to the site
Comments.UserDisplayName: LaurynnLowe
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-06T05:30:07.883Z
Comments.Text: Cool Laurynn glad you figured it out
Comments.UserDisplayName: Joe McLaughlin
Tags: <webform-civicrm>
Title: Form Submissions Overwriting Existing Contacts
ThreadText: # Form Submissions Overwriting Existing Contacts
  
  (Asked by: username_0 on 2019-12-05)
  
  Our form is overwriting existing contacts when a new submission is made.
  
  All of our dedup rules are related to same names and emails; I do not see any dedup rule that would overwrite a (seemingly random) contact record with a new contact's information.
  
  How can I prevent this in the future?
  
  This issue began with [my question here](https://civicrm.stackexchange.com/questions/33851/what-would-cause-contributions-and-contacts-to-go-missing).The suggestion was excellent, and helped me get to a better understanding of what happened. But I'm still missing precisely where the overwrite is happening. (To be fair, the full suggestion is to check the logs, but I lack the ability to write a query that pinpoints what I want to understand)
  
  **Tags:** webform-civicrm
  
  > **Comments:**
  > **username_1**: for checking the logs try the log viewer extension: https://github.com/adixon/ca.civicrm.logviewer  
  > **username_2**: Can you be more specific about the form? Is it a Drupal webform, a profile form, a contribution form? Each of those has it's own configuration for how to handle potential duplicates.  
  > **username_3**: Are the forms being submitted by logged-in users, or 'anonymously'? If by logged-in users, see this extension - https://civicrm.org/extensions/no-overwrite  
  > **username_0**: thanks to all. @username_1 - I am checking the logs, thanks.  
  > **username_0**: @username_2 it's a drupal form with civi webform integration  
  > **username_0**: @username_3 anonymous users overwrite existing contacts, so in this case the ext would not work. but thank you, because I have definitely encountered this in other situations.  
  > **username_0**: Thanks for everyone's input. It was a very odd matching rule, one that matched on last name with length one, weight one. I will see this was added to the site.  
  > **username_0**: I will see *when* this was added to the site  
  > **username_3**: Cool Laurynn glad you figured it out  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2019-12-06. Score: 2
  
  Thanks for everyone's input. It was a very odd matching rule, one that matched on last name with length = 1, weight = 1. I will see when this was added to the site.
  
  > **Comments:**
  > **username_1**: Ouch. Ouch. Ouch (x3 to get over the minimum 10 characters for a comment!)  
  
  ---
  
  ### Answer by username_4 on 2019-12-05. Score: 0
  
  What is your Matching Rule in the Webform configured at? This is where you find that:
  
  [![enter image description here](https://i.sstatic.net/Z6f3X.png)](https://i.sstatic.net/Z6f3X.png)
  
  Next -> post a screenshot of that Rule (in your CiviCRM config) as well as a Screenshot of your Webform tab (showing all the elements on the form as well as their Form\_keys
  
  
  ---
  
  