Body: <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>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-12-16T09:51:12.920Z
Comments.Text: Ok, _now_ I find the answer on SE. Can't delete my question here though.
Comments.UserDisplayName: Bart Rylant
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-12-16T16:34:20.440Z
Comments.Text: 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.
Comments.UserDisplayName: Damon
Tags: <frontend>
Title: How can I enter data in a matrix field with a front-end form?
ThreadText: # 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:
  
  ```
  <textarea id="body" name="fields[bodyNews][text]"></textarea>
  
  ```
  
  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
  
  