# Remove field from listing form

**URL:** <https://community.hivepress.io/t/remove-field-from-listing-form/5663>\
**Category:** Marketplace\
**Created:** [May 5, 2023, 5:40am UTC](https://community.hivepress.io/t/remove-field-from-listing-form/5663 "2023-05-05T05:40:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SoundSight](https://community.hivepress.io/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@SoundSight](https://community.hivepress.io/u/SoundSight)\
**Post date:** [May 5, 2023, 5:40am UTC](https://community.hivepress.io/t/remove-field-from-listing-form/5663/1 "2023-05-05T05:40:30Z")

</div>

I have a file upload field in the submit listing form. How can I remove the field, or any other field from the form?

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [May 5, 2023, 6:40am UTC](https://community.hivepress.io/t/remove-field-from-listing-form/5663/2 "2023-05-05T06:40:21Z")

</div>

Hi,

If you added this field as a custom attribute, you can remove it in Listings \> Attributes.

If this is the default field, you must use a PHP snippet.

---

<div class="post-metadata">

**Author:** ![SoundSight](https://community.hivepress.io/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@SoundSight](https://community.hivepress.io/u/SoundSight)\
**Post date:** [May 5, 2023, 6:55am UTC](https://community.hivepress.io/t/remove-field-from-listing-form/5663/3 "2023-05-05T06:55:10Z")

</div>

Which snippet do I use?

---

<div class="post-metadata">

**Author:** ![ihor](https://community.hivepress.io/user_avatar/community.hivepress.io/ihor/32/5_2.png) [@ihor](https://community.hivepress.io/u/ihor)\
**Post date:** [May 6, 2023, 1:17pm UTC](https://community.hivepress.io/t/remove-field-from-listing-form/5663/4 "2023-05-06T13:17:43Z")

</div>

If it’s a built-in field not availabile in Listings/Attributes, please let me know which field exactly you want to hide, the snippet depends on the field name.

---

<div class="post-metadata">

**Author:** ![SoundSight](https://community.hivepress.io/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@SoundSight](https://community.hivepress.io/u/SoundSight)\
**Post date:** [May 23, 2023, 4:19pm UTC](https://community.hivepress.io/t/remove-field-from-listing-form/5663/5 "2023-05-23T16:19:34Z")

</div>

Hi, the fields I want to remove from the listing are two of this type - `hp-form __field hp-form__ field--attachment-upload` please assist

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [May 24, 2023, 6:25am UTC](https://community.hivepress.io/t/remove-field-from-listing-form/5663/6 "2023-05-24T06:25:06Z")

</div>

Hi,

Please send a screenshot of the fields you want to delete and we will try to help.

---

<div class="post-metadata">

**Author:** ![SoundSight](https://community.hivepress.io/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@SoundSight](https://community.hivepress.io/u/SoundSight)\
**Post date:** [May 24, 2023, 7:35am UTC](https://community.hivepress.io/t/remove-field-from-listing-form/5663/7 "2023-05-24T07:35:29Z")

</div>

I want to remove the Images and File fields.

 ![Screenshot 2023-05-24 at 10.34.29 (2)](https://community.hivepress.io/uploads/default/original/2X/0/082f4ca02ffad2e95308a6f3087c0745a28de838.png)

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [May 25, 2023, 8:10am UTC](https://community.hivepress.io/t/remove-field-from-listing-form/5663/9 "2023-05-25T08:10:20Z")

</div>

Hi,

Please disable Require file attachments in HivePress \> Settings \> Listings.  
Or, if it’s a custom attribute, try removing it in Listings \> Attributes.

Regarding the Images field, please use this PHP snippet [Hide the images field in the listing form #hivepress #listings · GitHub](https://gist.github.com/hivepress/543f1676880dcbf6a130b1bd7f896a58)  
[How to add custom code snippets - HivePress Help Center](https://help.hivepress.io/article/23-how-to-add-custom-code-snippets)

​I hope this is helpful to you.

P.S. If you purchased a theme or extension, please enter the license key in the forum profile settings, this will enable the Premium Support badge and ensure a 24-hour turnaround time.

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [June 24, 2023, 8:11am UTC](https://community.hivepress.io/t/remove-field-from-listing-form/5663/10 "2023-06-24T08:11:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
