# Not possible to allow for multiple files in model custom field

**URL:** <https://forum.builder.io/t/not-possible-to-allow-for-multiple-files-in-model-custom-field/6030>\
**Category:** Technical Questions\
**Tags:** visual-editor\
**Created:** [July 22, 2024, 4:00pm UTC](https://forum.builder.io/t/not-possible-to-allow-for-multiple-files-in-model-custom-field/6030 "2024-07-22T16:00:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vincentreynaud](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/vincentreynaud/32/3990_2.png) [@vincentreynaud](https://forum.builder.io/u/vincentreynaud)\
**Post date:** [July 22, 2024, 4:00pm UTC](https://forum.builder.io/t/not-possible-to-allow-for-multiple-files-in-model-custom-field/6030/1 "2024-07-22T16:00:44Z")

</div>

**What I’m trying to do**  
I’m trying to create a ‘project’ content model that includes multiple pictures in a ‘media’ field. But i realised that this doesn’t seem possible. Or am I missing something? (fairly new to builder).

**Code stack**  
React, Gatsby.js

**Screenshots**  
An option for multiple files is missing

 ![Screenshot 2024-07-22 at 17.51.54](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/1/1b33aaf01e785f5014339d65c0f4bda3be6f5bf8.png)

Resulting options for content entry creation: i can only pick 1 image

 ![Screenshot 2024-07-22 at 17.47.23](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/a/a71b30577cf3f00281deac8418e72c835779e79e.png)

How could I make this work? If there isn’t an easy fix, could you please suggest a workaround?

Thank you 🙏

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [July 22, 2024, 4:59pm UTC](https://forum.builder.io/t/not-possible-to-allow-for-multiple-files-in-model-custom-field/6030/2 "2024-07-22T16:59:40Z")

</div>

Hello @vincentreynaud,

Welcome to the [builder.io](http://builder.io) forum post.

Creating a `list` type field with a `file` subfield is the way to go for creating a “project” content model that includes multiple pictures in a “media” field. Here’s a step-by-step guide to achieve it:

**Add Custom Fields:**

1. Within your created model, click the **Edit Fields** button.
2. Click **+ New Field**.
3. Name your field (e.g., “media”).
4. Choose **Type: List**.
5. After selecting **List** , you’ll have an option to add subfields.  
\* Click **+ New Subfield**.  
\* Name the subfield (e.g., “media”).  
\* Choose **Type: File**.  
\* Optional: Restrict file types to image formats like jpeg and png.
6. Save the field and ensure it’s correctly listed under your model.

This setup ensures that your “Project” model can handle multiple images in the “media” field. For more details, refer to the [Custom Fields](https://www.builder.io/c/docs/custom-fields) documentation.

Thanks,

---

<div class="post-metadata">

**Author:** ![vincentreynaud](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/vincentreynaud/32/3990_2.png) [@vincentreynaud](https://forum.builder.io/u/vincentreynaud)\
**Post date:** [July 23, 2024, 8:17am UTC](https://forum.builder.io/t/not-possible-to-allow-for-multiple-files-in-model-custom-field/6030/3 "2024-07-23T08:17:56Z")

</div>

thanks @manish-sharma!

I didn’t realise we could do this. Probably good to leave this forum question up for others who might struggle.

I’m coming from contentful and I quite like how their UI is designed to allow for multiple entries. Maybe a good suggestion to improve the builder UI/UX?

Cheers!

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [July 23, 2024, 8:30am UTC](https://forum.builder.io/t/not-possible-to-allow-for-multiple-files-in-model-custom-field/6030/4 "2024-07-23T08:30:44Z")

</div>

Hello @vincentreynaud,

It’s great to hear that the information was helpful. Leaving this forum question up will definitely benefit others who might face similar challenges.

Regarding your experience with Contentful, we appreciate your input on their UI design. Improving the builder UI/UX is always a priority for us, and your suggestion to incorporate features that allow for multiple entries is valuable. We’ll consider this for future updates.

Thanks again for your contribution!

Best regards,
