# Validating Attachments Format

**URL:** <https://community.nextw.com/t/validating-attachments-format/2232>\
**Category:** How Tos\
**Created:** [November 4, 2026, 8:10pm UTC](https://community.nextw.com/t/validating-attachments-format/2232 "2026-11-04T20:10:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![neil.kasandamutetela](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/neil.kasandamutetela/32/1615_2.png) [@neil.kasandamutetela](https://community.nextw.com/u/neil.kasandamutetela)\
**Post date:** [November 4, 2026, 8:10pm UTC](https://community.nextw.com/t/validating-attachments-format/2232/1 "2026-11-04T20:10:20Z")

</div>

Is it possible to validate the format of an attachment via a logic block? For example, if attachments added to a Purchase Order record should only be in the PDF format, how would one validate that?

---

<div class="post-metadata">

**Author:** ![ian.p](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/ian.p/32/427_2.png) [@ian.p](https://community.nextw.com/u/ian.p)\
**Post date:** [November 4, 2026, 8:52pm UTC](https://community.nextw.com/t/validating-attachments-format/2232/2 "2026-11-04T20:52:52Z")

</div>

I can’t think of a way to do this other than to do text manipulation on the attachment’s file name to get the file extension (on the assumption the file extension is correct).
