You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---
title: A page with a form
form:
name: contactform
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
placeholder: Enter your message
type: textarea
validate:
required: true
buttons:
- type: submit
value: Submit
process:
- save:
fileprefix: contact-
dateformat: Ymd-His-u
extension: txt
body: "{% include 'forms/data.txt.twig' %}"
- message: Thank you from your feedback!
---
# Nice contact form
{% include 'forms/form.html.twig' %}
There is no additional configuration of Data Manager and Form plugins.
If multiline message was submitted, then error occurs while trying to browse Contactform data:
The text was updated successfully, but these errors were encountered:
The problem is how we store data. I've done some edits to transform a multiline string (e.g. a textarea content) to a single line string with <br> tags. Still something left to sort out, but will be fixed soon.
This is form.md:
There is no additional configuration of Data Manager and Form plugins.
If multiline message was submitted, then error occurs while trying to browse Contactform data:
The text was updated successfully, but these errors were encountered: