Title: Validate attached files
Last modified: June 17, 2021

---

# Validate attached files

 *  [wilbertcre](https://wordpress.org/support/users/wilbertcre/)
 * (@wilbertcre)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/validate-attached-files/)
 * Is it possible to create attachment field with the validation of the attached
   files? To accept only xml files ?

Viewing 1 replies (of 1 total)

 *  [Jade](https://wordpress.org/support/users/jadeam/)
 * (@jadeam)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/validate-attached-files/#post-14577419)
 * Hello [@wilbertcre](https://wordpress.org/support/users/wilbertcre/),
 * Using the File Upload field of the paid version of WPForms, you should be able
   to limit the file types you will allow to be uploaded. Please check [here](https://wpforms.com/docs/a-complete-guide-to-the-file-upload-field/#file-types)
   for more details.
 * I hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘Validate attached files’ is closed to new replies.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

## Tags

 * [attachment](https://wordpress.org/support/topic-tag/attachment/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jade](https://wordpress.org/support/users/jadeam/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/validate-attached-files/#post-14577419)
 * Status: not a support question