<p>I want to use a front-end form for certain users to post entries. However, the entry layout contains a Matrix field. How can make a field where people can enter content in a matrix row? Suppose I have a matrix field called <code>bodyNews</code> containing a text field called <code>text</code>. I thought I could do this:</p>

<pre><code>&lt;textarea id="body" name="fields[bodyNews][text]"&gt;&lt;/textarea&gt;
</code></pre>

<p>But that doesn't seem to work. Any ideas?</p>

CC BY-SA 3.0
2015-12-16T09:51:12.920Z
Ok, _now_ I find the answer on SE. Can't delete my question here though.
Bart Rylant
CC BY-SA 3.0
2015-12-16T16:34:20.440Z
I feel you - happens to me all the time. For my own selfishness, I posted [this answer](http://craftcms.stackexchange.com/questions/12602/managing-frontend-js-for-matrix-fields/12611#12611) on how I got matrix fields to work. I understand you found your answer, but maybe it will help you as well.
Damon
<frontend>
How can I enter data in a matrix field with a front-end form?
# How can I enter data in a matrix field with a front-end form?

(Asked by: username_0 on 2015-12-16)

I want to use a front-end form for certain users to post entries. However, the entry layout contains a Matrix field. How can make a field where people can enter content in a matrix row? Suppose I have a matrix field called bodyNews containing a text field called text. I thought I could do this:


But that doesn't seem to work. Any ideas?

**Tags:** frontend

> **Comments:**
> **username_0**: Ok, _now_ I find the answer on SE. Can't delete my question here though.  
> **username_1**: I feel you - happens to me all the time. For my own selfishness, I posted [this answer](http://craftcms.stackexchange.com/questions/12602/managing-frontend-js-for-matrix-fields/12611#12611) on how I got matrix fields to work. I understand you found your answer, but maybe it will help you as well.  

---

## 0 answers

