Answers.Body: <p>According to the <a href="https://docs.solspace.com/craft/freeform/v3/overview/element-connections.html#editing-elements" rel="nofollow noreferrer">Freeform docs</a> it looks like you'll need to pass an element ID.</p>
  <blockquote>
  <p>Freeform allows you to edit/update existing Craft elements (Entries, Users and Calendar Events currently) by including the elementId parameter in your form. It works by feeding a Freeform form an element ID.</p>
  </blockquote>
  <pre><code>{{ craft.freeform.form(&quot;editCraftUsers&quot;).render({
      elementId: currentUser.id
  }) }}
  </code></pre>
  <p>The docs have more details on the exact options.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-29T06:40:06.663Z
Answers.LastActivityDate: 2021-03-29T06:40:06.663Z
Answers.UserDisplayName: Simon Kuran
Body: <p>I have a Freeform 3 form and I have mapped it to an existing channel. The connection works, and filling out a form creates a new entry, but it only create new entries. The form is on an entry page. The channel has an autogenerated Title and I am pulling that into the form template via a hidden field.</p>
  <p>I was hoping to be able to &quot;update&quot; <strong>existing entries</strong> and not just create new ones. Do I need to also pull in the entry.slug or entry.id? Or do the element connections not have this functionality?</p>
  <p>What I am getting is only new entries: entry-01, entry-02, etc.</p>
  
Tags: <plugin-freeform><solspace><freeform>
Title: Freeform Element Connections to Update Existing Entries
ThreadText: # Freeform Element Connections to Update Existing Entries
  
  (Asked by: username_0 on 2021-03-27)
  
  I have a Freeform 3 form and I have mapped it to an existing channel. The connection works, and filling out a form creates a new entry, but it only create new entries. The form is on an entry page. The channel has an autogenerated Title and I am pulling that into the form template via a hidden field.
  
  I was hoping to be able to "update" **existing entries** and not just create new ones. Do I need to also pull in the entry.slug or entry.id? Or do the element connections not have this functionality?
  
  What I am getting is only new entries: entry-01, entry-02, etc.
  
  **Tags:** plugin-freeform, solspace, freeform
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-03-29. Score: 0 | Accepted answer
  
  According to the [Freeform docs](https://docs.solspace.com/craft/freeform/v3/overview/element-connections.html#editing-elements) it looks like you'll need to pass an element ID.
  
  > Freeform allows you to edit/update existing Craft elements (Entries, Users and Calendar Events currently) by including the elementId parameter in your form. It works by feeding a Freeform form an element ID.
  
  ```
  {{ craft.freeform.form("editCraftUsers").render({
      elementId: currentUser.id
  }) }}
  
  ```
  
  The docs have more details on the exact options.
  
  
  ---
  
  