Answers.Body: <p>The Preparse field can be used for this. It is a field type that parses Twig and saves the result as plain text. The Craft 3 version can be found here: <a href="https://plugins.craftcms.com/preparse-field?craft3" rel="nofollow noreferrer">https://plugins.craftcms.com/preparse-field?craft3</a></p>
  <p>In the Twig for the preparse field, you can reference the field that you need to have in the matrix block.</p>
  <p>So, for example, if the field in the entry is called <code>myField</code>, you could add a preparse field to the matrix block which has the following Twig content:</p>
  <pre><code>{{ element.myField }}
  </code></pre>
  <p>Then, when the entry is saved, the content of the preparse field will contain the contents of <code>myField</code>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-29T17:39:57.663Z
Answers.Text: Thanks Steve!
  
  I'm not really sure how this can help me, would you mind explaining in a little more detail?
Answers.UserDisplayName: Sean G
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-30T09:51:14.680Z
Answers.Text: I've added more detail to explain what I mean. Hope this is what you are after!
Answers.UserDisplayName: Steve Rowling
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-29T15:39:32.453Z
Answers.LastActivityDate: 2023-08-30T09:50:40.713Z
Answers.LastEditDate: 2023-08-30T09:50:40.713Z
Answers.UserDisplayName: Steve Rowling
Body: <p>I want to pull content from a field on an entry into a matrix block that is displayed on that entry.</p>
  <p>I have entries that are shared between multiple sites. I'd like to be able to add a field on these entries that is only being utilized on one specific site. In order to do this I need to get the data from that field and insert it into a matrix block, is this possible?</p>
  
Tags: <craft3><matrix>
Title: I want to pull content from a field on an entry into a matrix block that is displayed on that entry, is this possible?
ThreadText: # I want to pull content from a field on an entry into a matrix block that is displayed on that entry, is this possible?
  
  (Asked by: username_0 on 2023-08-29)
  
  I want to pull content from a field on an entry into a matrix block that is displayed on that entry.
  
  I have entries that are shared between multiple sites. I'd like to be able to add a field on these entries that is only being utilized on one specific site. In order to do this I need to get the data from that field and insert it into a matrix block, is this possible?
  
  **Tags:** craft3, matrix
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-08-29. Score: 1
  
  The Preparse field can be used for this. It is a field type that parses Twig and saves the result as plain text. The Craft 3 version can be found here: <https://plugins.craftcms.com/preparse-field?craft3>
  
  In the Twig for the preparse field, you can reference the field that you need to have in the matrix block.
  
  So, for example, if the field in the entry is called `myField`, you could add a preparse field to the matrix block which has the following Twig content:
  
  ```
  {{ element.myField }}
  
  ```
  
  Then, when the entry is saved, the content of the preparse field will contain the contents of `myField`.
  
  > **Comments:**
  > **username_0**: Thanks username_1!  I'm not really sure how this can help me, would you mind explaining in a little more detail?  
  > **username_1**: I've added more detail to explain what I mean. Hope this is what you are after!  
  
  ---
  
  