Answers.Body: <p>I have a partial solution. If I add an &quot;Existing Contact&quot; field to the top of the form and the constituent selects their name using this additional control, then when the form is submitted it <em>doesn't</em> create a duplicate contact but rather the activity (e.g., &quot;visit nursing home&quot; for [duration] &quot;2&quot; [hours]) is appended to the list of activities for the constituent in question. The remaining issue is that any constituent can now use this control to look up other members in the database. Ideally, I'd like the control to only show contacts within a certain group, e.g., &quot;Volunteers&quot;. Then I could password protect the WordPress page with this control allowing only volunteers to access it.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-21T08:28:17.833Z
Answers.LastActivityDate: 2022-10-21T08:28:17.833Z
Answers.UserDisplayName: gillenpj
Body: <p>I created a Form Builder form, with &quot;accessible on front-end of website&quot; ticked, &quot;generic: allow all users&quot; permission set; &quot;contact source&quot; = &quot;log volunteer hours&quot; on Individual 1; and &quot;added by&quot; = &quot;Individual 1&quot;, &quot;activity type&quot; = &quot;Volunteer&quot;, and &quot;activity status&quot; = &quot;completed&quot; on Activity 1. The security for both Individual 1 and Activity 1 is &quot;form-based&quot;, and &quot;allowed actions&quot; include both create and update.</p>
  <p>I'd like to use this form to submit a volunteer's hours (duration) as activity against existing contact. Right now, the form creates a new contact with the entered activity information every time it's submitted, but this isn't the right behaviour as it creates duplicate contacts (a different one for each activity logged). Have I got some of the Form Builder form parameters incorrect, which is causing this behaviour?</p>
  <p><a href="https://i.sstatic.net/Y8djX.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Y8djX.png" alt="enter image description here" /></a></p>
  
Tags: <formbuilder>
Title: Form Builder form creating duplicate contact when logging activity (volunteer hours)
ThreadText: # Form Builder form creating duplicate contact when logging activity (volunteer hours)
  
  (Asked by: username_0 on 2022-10-18)
  
  I created a Form Builder form, with "accessible on front-end of website" ticked, "generic: allow all users" permission set; "contact source" = "log volunteer hours" on Individual 1; and "added by" = "Individual 1", "activity type" = "Volunteer", and "activity status" = "completed" on Activity 1. The security for both Individual 1 and Activity 1 is "form-based", and "allowed actions" include both create and update.
  
  I'd like to use this form to submit a volunteer's hours (duration) as activity against existing contact. Right now, the form creates a new contact with the entered activity information every time it's submitted, but this isn't the right behaviour as it creates duplicate contacts (a different one for each activity logged). Have I got some of the Form Builder form parameters incorrect, which is causing this behaviour?
  
  [![enter image description here](https://i.sstatic.net/Y8djX.png)](https://i.sstatic.net/Y8djX.png)
  
  **Tags:** formbuilder
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-10-21. Score: 1
  
  I have a partial solution. If I add an "Existing Contact" field to the top of the form and the constituent selects their name using this additional control, then when the form is submitted it *doesn't* create a duplicate contact but rather the activity (e.g., "visit nursing home" for [duration] "2" [hours]) is appended to the list of activities for the constituent in question. The remaining issue is that any constituent can now use this control to look up other members in the database. Ideally, I'd like the control to only show contacts within a certain group, e.g., "Volunteers". Then I could password protect the WordPress page with this control allowing only volunteers to access it.
  
  
  ---
  
  