<p>I was thinking about this myself, and I found the following 2 articles which I have been going over. It looks like it is quite possible:</p>
<p><a href="http://craftsnippets.com/articles/using-template-hooks-in-craft-cms" rel="nofollow noreferrer">http://craftsnippets.com/articles/using-template-hooks-in-craft-cms</a></p>
<p><a href="https://docs.solspace.com/craft/freeform/v3/overview/relations.html#overview" rel="nofollow noreferrer">https://docs.solspace.com/craft/freeform/v3/overview/relations.html#overview</a></p>
<p>The 2nd link has a heading for “Relating more than one element” which looks like it would apply in your situation.</p>

CC BY-SA 4.0
2021-01-23T19:41:22.097Z
Thanks, I didn't realize these relationships could be created so easily. This put me on the right track. :)
4midori
CC BY-SA 4.0
2021-01-23T15:36:29.467Z
2021-01-23T15:36:29.467Z
M Smith
<p>I just realized that I can also use the Craft UI element in the field layout designer to accomplish this.
<a href="http://craftsnippets.com/articles/using-template-ui-elements-to-extend-craft-cms-control-panel" rel="nofollow noreferrer">http://craftsnippets.com/articles/using-template-ui-elements-to-extend-craft-cms-control-panel</a></p>

CC BY-SA 4.0
2021-01-23T20:06:11.513Z
2021-01-23T20:06:11.513Z
4midori
<p>I have a Freeform which collects information on item(s) to be converted from analog to digital (VHS tape 16mm film, etc). The form requires the user to be logged in.</p>
<p>There may be cases where the user fills out the form more than once, because they have more than one item to convert. I want to do two things:</p>
<ul>
<li>Save the results of each form submission in a standard Craft entry. I believe I understand how to do this, I just need to hook up all the fields.</li>
<li>Relate one or more form submissions to a single &quot;order&quot;, which I believe would be represented by a single Craft entry.</li>
</ul>
<p>An order entry would have:</p>
<ul>
<li>User</li>
<li>Date</li>
<li>Relationship to 1 or more form submissions.</li>
</ul>
<p>What is simplest way to accomplish this? FYI, I do not want to write a custom plug-in, nor write a lot of code.</p>
<p>My first thought was to create an initial order form which collects only the title of the order, and then pass that via a query string or JavaScript into the second form, thus creating a relationship where the first form is the &quot;parent&quot; and submissions of the second form are the children.</p>

<entries><plugin-freeform><relationships>
Associating multiple FreeForm entries with a single Craft entry
# Associating multiple FreeForm entries with a single Craft entry

(Asked by: username_0 on 2021-01-23)

I have a Freeform which collects information on item(s) to be converted from analog to digital (VHS tape 16mm film, etc). The form requires the user to be logged in.

There may be cases where the user fills out the form more than once, because they have more than one item to convert. I want to do two things:

* Save the results of each form submission in a standard Craft entry. I believe I understand how to do this, I just need to hook up all the fields.
* Relate one or more form submissions to a single "order", which I believe would be represented by a single Craft entry.

An order entry would have:

* User
* Date
* Relationship to 1 or more form submissions.

What is simplest way to accomplish this? FYI, I do not want to write a custom plug-in, nor write a lot of code.

My first thought was to create an initial order form which collects only the title of the order, and then pass that via a query string or JavaScript into the second form, thus creating a relationship where the first form is the "parent" and submissions of the second form are the children.

**Tags:** entries, plugin-freeform, relationships

---

## 2 answers

### Answer by username_1 on 2021-01-23. Score: 2 | Accepted answer

I was thinking about this myself, and I found the following 2 articles which I have been going over. It looks like it is quite possible:

<http://craftsnippets.com/articles/using-template-hooks-in-craft-cms>

<https://docs.solspace.com/craft/freeform/v3/overview/relations.html#overview>

The 2nd link has a heading for “Relating more than one element” which looks like it would apply in your situation.

> **Comments:**
> **username_0**: Thanks, I didn't realize these relationships could be created so easily. This put me on the right track. :)  

---

### Answer by username_0 on 2021-01-23. Score: 1

I just realized that I can also use the Craft UI element in the field layout designer to accomplish this.
<http://craftsnippets.com/articles/using-template-ui-elements-to-extend-craft-cms-control-panel>


---

