---
title: Contact
form:
    name: contact
    fields:
        name:
            label: Name
            placeholder: 'Votre nom'
            autocomplete: 'on'
            type: text
            validate:
                required: true
        email:
            label: Email
            placeholder: 'Votre adresse mail'
            type: email
            validate:
                required: true
        message:
            label: Message
            placeholder: 'Votre message'
            type: textarea
            validate:
                required: true
        g-recaptcha-response:
            label: Captcha
            type: captcha
            recaptcha_not_validated: 'Captcha not valid!'
    buttons:
        submit:
            type: submit
            value: Envoyer
        reset:
            type: reset
            value: Reset
    process:
        captcha: false
        save:
            fileprefix: contact-
            dateformat: Ymd-His-u
            extension: txt
            body: '{% include ''forms/data.txt.twig'' %}'
        email:
            subject: '[Site Contact Form] {{ form.value.name|e }}'
            body: '{% include ''forms/data.html.twig'' %}'
        message: 'Merci pour votre envoi !'
        display: emailsent
published: true
---

# Contact form

Some sample page content