# Reject certain file type in file upload formfield

**URL:** <https://community.triggre.com/t/reject-certain-file-type-in-file-upload-formfield/832>\
**Category:** Support\
**Tags:** application\
**Created:** [November 19, 2024, 9:49am UTC](https://community.triggre.com/t/reject-certain-file-type-in-file-upload-formfield/832 "2024-11-19T09:49:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.vandoesum](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@daniel.vandoesum](https://community.triggre.com/u/daniel.vandoesum)\
**Post date:** [November 19, 2024, 9:49am UTC](https://community.triggre.com/t/reject-certain-file-type-in-file-upload-formfield/832/1 "2024-11-19T09:49:27Z")

</div>

Is there a way to reject certain file types in the upload file formfield.

I want to reject .HEIC files to be uploaded.

---

<div class="post-metadata">

**Author:** ![Jesse](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/jesse/32/88_2.png) [@Jesse](https://community.triggre.com/u/Jesse)\
**Post date:** [November 19, 2024, 1:56pm UTC](https://community.triggre.com/t/reject-certain-file-type-in-file-upload-formfield/832/2 "2024-11-19T13:56:56Z")

</div>

Hi @daniel.vandoesum,

You can specify that a field is **Any file** (allows all file extensions), **Document** (only allows Office documents, PDF, etc) or **Picture** (allows all supported image formats).

If you want to specifically not allow HEIC files, we don’t provide that specific setting, since we can perfectly handle these types of files. Is there a specific reason not to allow HEIC files?

Note that in the [2024.2 release](https://community.triggre.com/t/release-notes-2024-2) we have released HEIC/HEIF support, and these are internally converted to JPEG.

---

<div class="post-metadata">

**Author:** ![daniel.vandoesum](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@daniel.vandoesum](https://community.triggre.com/u/daniel.vandoesum)\
**Post date:** [November 19, 2024, 3:08pm UTC](https://community.triggre.com/t/reject-certain-file-type-in-file-upload-formfield/832/3 "2024-11-19T15:08:45Z")

</div>

Hi @Jesse,

Thank you for your reply. Currently we save the files as any file but I tested it to save the file in an picture field and that looks like it would do the job.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/triggre/original/1X/367281c6ef0a1cef3dd636979e56e8a6918e707f.png) [@system](https://community.triggre.com/u/system)\
**Post date:** [November 22, 2024, 7:09pm UTC](https://community.triggre.com/t/reject-certain-file-type-in-file-upload-formfield/832/4 "2024-11-22T19:09:12Z")

</div>

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