diff --git a/src/Contact/views/contact/form.php b/src/Contact/views/contact/form.php
index eb20cc4d0..f27c327b0 100644
--- a/src/Contact/views/contact/form.php
+++ b/src/Contact/views/contact/form.php
@@ -31,6 +31,7 @@
= Form::tag()
->post($url->generate('site/contact'))
+ ->enctypeMultipartFormData()
->csrf($csrf)
->id('form-contact')
->open()
@@ -40,7 +41,7 @@
= Field::email($form, 'email') ?>
= Field::text($form, 'subject') ?>
= Field::textarea($form, 'body')->addInputAttributes(['style' => 'height: 100px']) ?>
- = Field::file($form, 'attachFiles')
+ = Field::file($form, 'attachFiles[]')
->containerClass('mb-3')
->multiple()
->hideLabel()
@@ -67,4 +68,3 @@
-