<p>I have a Sprout form with table field. I'm trying to fill it as native Entry form table field:</p>

<pre><code>&lt;input type="hidden" name="fields[tableField]" value=""&gt;        
&lt;textarea name="fields[tableField][0][col1]" rows="1"&gt;&lt;/textarea&gt;
&lt;textarea name="fields[tableField][0][col2]" rows="1"&gt;&lt;/textarea&gt;
&lt;textarea name="fields[tableField][0][col3]" rows="1"&gt;&lt;/textarea&gt;
</code></pre>

<p>The data in the table is saved correctly, but after submitting the form, I get an error: <strong>Array to string conversion...</strong></p>

<p>Tell me please what is the problem.
Thanks in advance.</p>

<p><a href="https://i.sstatic.net/NYHnG.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/NYHnG.png" alt="error"></a></p>

CC BY-SA 3.0
2018-01-08T14:35:26.167Z
I suggest you to ask the creator of the plugin. Those plugin related questions are barely answered in a short period of time. You could inspect the html in your cp form and copy/paste it to your custom form. That's usually the best way. Otherwise you have to wait for someone who uses sprout and this field and is familiar with it
Robin Schambach
CC BY-SA 3.0
2018-01-08T23:10:26.183Z
If the data is saved correctly, could the error you are seeing be happening on your Thank You page or in the Notification Email? The error is saying that somewhere a template is trying to output an array with incorrect syntax. We don't support the Table field natively in Sprout Forms, so it is possible something else needs to get updated to fully support it. Can you try simplifying your Thank you page to just text or disabling any notification emails you have to see if the submission works? If that's the issue, I can respond with additional info.
Ben Parizek
CC BY-SA 3.0
2018-01-09T05:20:14.367Z
Thank you very much for the answer.
I could not find the cause of the error. I replaced the table field with the matrix. It works fine
Oleg
<plugin-sproutforms>
Populating tables using Sprout Forms
# Populating tables using Sprout Forms

(Asked by: username_0 on 2018-01-07)

I have a Sprout form with table field. I'm trying to fill it as native Entry form table field:
        




The data in the table is saved correctly, but after submitting the form, I get an error: Array to string conversion...
Tell me please what is the problem.
Thanks in advance.

**Tags:** plugin-sproutforms

> **Comments:**
> **username_1**: I suggest you to ask the creator of the plugin. Those plugin related questions are barely answered in a short period of time. You could inspect the html in your cp form and copy/paste it to your custom form. That's usually the best way. Otherwise you have to wait for someone who uses sprout and this field and is familiar with it  
> **username_2**: If the data is saved correctly, could the error you are seeing be happening on your Thank You page or in the Notification Email? The error is saying that somewhere a template is trying to output an array with incorrect syntax. We don't support the Table field natively in Sprout Forms, so it is possible something else needs to get updated to fully support it. Can you try simplifying your Thank you page to just text or disabling any notification emails you have to see if the submission works? If that's the issue, I can respond with additional info.  
> **username_0**: Thank you very much for the answer. I could not find the cause of the error. I replaced the table field with the matrix. It works fine  

---

## 0 answers

