<p>Currently, the <a href="https://docs.solspace.com/craft/freeform/v3/overview/element-connections.html" rel="nofollow noreferrer">Element Connections</a> feature requires that a Freeform array field be mapped to a Craft field that also accepts an array (e.g. Freeform Checkbox Group to Craft Checkboxes).</p>
<p>I've made a note about this for us to revisit in the future though, and potentially add a transformer to handle this kind of mapping. :)</p>

CC BY-SA 4.0
2021-05-19T15:23:42.930Z
Thanks. Good to know. And now that I do I can manage the mapping in future with a more appropriate field.
Jonathan Schofield
CC BY-SA 4.0
2021-05-19T05:48:31.327Z
2021-05-19T05:48:31.327Z
Solspace
<p>NB: this is <em>not</em> the same as <a href="https://craftcms.stackexchange.com/questions/31438/freeform-checkbox-group-field-only-returns-one-value">Freeform Checkbox Group Field only returns one value</a>, which was resolved by field name markup invoking an array: <code>name=&quot;fieldname[]&quot;</code>.</p>
<p>I'm already doing that. And stored Freeform form submissions are respecting multiple values.</p>
<p>My issue is that I am using <strong>Element Connections</strong> to map the form fields to other fields in the system which are assigned to user accounts.</p>
<p>The receiving fields are multiline Plain Text fields and they are only receiving a single value.</p>
<p>For example:</p>
<p>For a Freeform checkbox group…</p>
<pre><code>&lt;input name=&quot;group[0] type=&quot;checkbox&quot; value=&quot;val1&quot;&gt;
&lt;input name=&quot;group[1] type=&quot;checkbox&quot; value=&quot;val2&quot;&gt;
&lt;input name=&quot;group[2] type=&quot;checkbox&quot; value=&quot;val3&quot;&gt;
</code></pre>
<p>…that maps to user account field <code>userData2</code>.</p>
<p>When all three checkboxes are checked:</p>
<ul>
<li>the Freeform <code>group</code> field stores a value of <code>val1, val2, val3</code></li>
<li>but <code>userData2</code> only receives <code>val1</code>.</li>
</ul>

CC BY-SA 4.0
2021-05-14T09:18:15.817Z
Thanks for improving the tags, Brad :)
Jonathan Schofield
<plugin-freeform><solspace><array>
Problem with truncated Freeform checkbox group value when mapped to another field
# Problem with truncated Freeform checkbox group value when mapped to another field

(Asked by: username_0 on 2021-05-13)

NB: this is not the same as Freeform Checkbox Group Field only returns one value, which was resolved by field name markup invoking an array: name="fieldname[]".
I'm already doing that. And stored Freeform form submissions are respecting multiple values.
My issue is that I am using Element Connections to map the form fields to other fields in the system which are assigned to user accounts.
The receiving fields are multiline Plain Text fields and they are only receiving a single value.
For example:
For a Freeform checkbox group…




…that maps to user account field userData2.
When all three checkboxes are checked:

the Freeform group field stores a value of val1, val2, val3
but userData2 only receives val1.

**Tags:** plugin-freeform, solspace, array
> **Comments:**
> **username_0**: Thanks for improving the tags, Brad :)  

---

## 1 answers

### Answer by username_1 on 2021-05-19. Score: 2

Currently, the [Element Connections](https://docs.solspace.com/craft/freeform/v3/overview/element-connections.html) feature requires that a Freeform array field be mapped to a Craft field that also accepts an array (e.g. Freeform Checkbox Group to Craft Checkboxes).

I've made a note about this for us to revisit in the future though, and potentially add a transformer to handle this kind of mapping. :)

> **Comments:**
> **username_0**: Thanks. Good to know. And now that I do I can manage the mapping in future with a more appropriate field.  

---

