<p>I don't believe you need a new custom field type for this. What your describing has been accomplished quite well already by the <strong>Neo</strong> plugin...</p>

<blockquote>
  <p><a href="https://github.com/benjamminf/craft-neo" rel="nofollow noreferrer">https://github.com/benjamminf/craft-neo</a></p>
</blockquote>

<p>Additionally, the <strong>Super Table</strong> plugin has similar capabilities...</p>

<blockquote>
  <p><a href="https://github.com/engram-design/SuperTable" rel="nofollow noreferrer">https://github.com/engram-design/SuperTable</a></p>
</blockquote>

CC BY-SA 3.0
2017-04-12T17:54:45.080Z
2017-04-12T17:54:45.080Z
Lindsey D
<p>I'm just wondering is it possible to have nested Fields inside of a Custom Field type.</p>

<p>So if I create a custom Field type. I wish for it to contain all of the following. So it will contain multiple fields inside of it.</p>

<ul>
<li>Asset   </li>
<li>Matrix   </li>
<li>Entry   </li>
</ul>

<p>Is this something that can be achieved.</p>

<p>Appreciate any pointers.</p>

CC BY-SA 3.0
2017-04-12T09:11:58.323Z
Anderscc, please let us know if that post I liked to answers your question.
carlcs
CC BY-SA 3.0
2017-04-12T10:18:12.667Z
carlsc, I don't think that is the same as what I'm asking. That is to add an assets field. I want to add multiple fields inside of one custom field type. So they'd all be nested within the one. I hope that makes sense.
andrew-caulfield
CC BY-SA 3.0
2017-04-12T11:00:16.540Z
*"custom field types hold several different form input fields. For example the field may be called video and contain a title field, caption field, video slug field and a thumbnail field."* – sounds very similar to me
carlcs
CC BY-SA 3.0
2017-04-12T14:02:43.603Z
Dude, that is from the question. There is also no accepted answer on that question. Pointless linking that question.
andrew-caulfield
CC BY-SA 3.0
2017-04-12T14:15:17.487Z
Heh, so you’re saying that it is pointless to make you aware of a question basically asking the same thing?
carlcs
<plugin-development><custom-fieldtype>
Creating a Custom Field Type with nested Fields
# Creating a Custom Field Type with nested Fields

(Asked by: username_0 on 2017-04-12)

I'm just wondering is it possible to have nested Fields inside of a Custom Field type.

So if I create a custom Field type. I wish for it to contain all of the following. So it will contain multiple fields inside of it.

* Asset
* Matrix
* Entry

Is this something that can be achieved.

Appreciate any pointers.

**Tags:** plugin-development, custom-fieldtype
> **Comments:**
> **username_1**: Anderscc, please let us know if that post I liked to answers your question.  
> **username_0**: carlsc, I don't think that is the same as what I'm asking. That is to add an assets field. I want to add multiple fields inside of one custom field type. So they'd all be nested within the one. I hope that makes sense.  
> **username_1**: *"custom field types hold several different form input fields. For example the field may be called video and contain a title field, caption field, video slug field and a thumbnail field."* – sounds very similar to me  
> **username_0**: Dude, that is from the question. There is also no accepted answer on that question. Pointless linking that question.  
> **username_1**: Heh, so you’re saying that it is pointless to make you aware of a question basically asking the same thing?  

---

## 1 answers

### Answer by username_2 on 2017-04-12. Score: 1

I don't believe you need a new custom field type for this. What your describing has been accomplished quite well already by the **Neo** plugin...

> <https://github.com/benjamminf/craft-neo>

Additionally, the **Super Table** plugin has similar capabilities...

> <https://github.com/engram-design/SuperTable>


---

