Contact

title: Contact form: name: my-nice-form fields:

  • name: name label: Name placeholder: Enter your name autofocus: on autocomplete: on type: text validate: required: true

  • name: email label: Email placeholder: Enter your email address type: text validate: rule: email required: true

  • name: message label: Message size: long placeholder: Enter your message type: textarea validate: required: true

    buttons:

  • type: submit value: Submit classes: gdlr-button with-border excerpt-read-more

    process:

  • email: from: "{{ config.plugins.email.from }}" to:
    • "{{ config.plugins.email.from }}"
    • "{{ form.value.email }}" subject: "[Feedback] {{ form.value.name|e }}" body: "{% include 'forms/data.html.twig' %}"
  • save: fileprefix: feedback- dateformat: Ymd-His-u extension: txt body: "{% include 'forms/data.txt.twig' %}"
  • message: Thank you for your Feedback!
  • display: thankyou