{{ form_ajax(__SELF__ ~'::onFormSubmit', {validate: true, files: true}) }}
<div class="contactForm">
    <div class="row y-gap-30">

        <div class="col-md-6">
            <input type="text" placeholder="Naam*" name="naam" required>
        </div>
        <div class="col-md-6">
            <input type="text" placeholder="Telefoon" name="telefoon">
        </div>
        <div class="col-12">
            <input type="text" placeholder="E-mailadres*" name="Email" required>
        </div>
        <div class