Hello! We have a form on a modular page that’s been working great. Yesterday, however it stopped working correctly. This is on a custom theme as well.
I have the follow in the modular.md frontmatter:
title: 'Contact Us'
content:
items: '@self.modular'
order:
by: default
dir: asc
menu: Contact
process:
markdown: true
twig: true
form:
action: /contact
name: contact-page-form
fields:
-
name: message
label: Message
type: textarea
validate:
required: true
buttons:
-
type: submit
value: Send
classes: 'large button float-right'
process:
-
email:
subject: '{{ form.value.name|e }}'
body: '{% include ''forms/data.html.twig'' %}'
-
save:
fileprefix: contact-
dateformat: Ymd-His-u
extension: txt
body: '{% include ''forms/data.txt.twig'' %}'
-
message: 'Thank you for contacting us!'
-
display: thankyou
And the following in the module.md (form) frontmatter:
title: 'Contact form'
process:
markdown: true
twig: true
I have tried adding
cache_enable: false
to both and one or the other page but this didn’t work either.
Whenever the form is submitted the /contact route showing like normal, but the “display: thankyou” portion does not show and the process doesn’t go (no email, no saved file).
Does anyone have any ideas?