I've been trying to use a simple form in a modular page, with no success.
With the form in modular.md, the page display is wrecked but there was a form. Putting the form in my _contact/form.md file also did not work. I was able to add cache_enable: true ok, it blows up whenever I add the form code.
- email is working
- Highlights is the theme
- I had a working form with a different theme using standard pages
- Once the page is messed up, it stays that way, even after undoing the change and clearing cache (Hurray for backups)!
title: 'Contact Us!'
media_order: 'pic03.jpg,johnny-automatic-cart-carrying-a-crate.svg'
display_title: true
next_label: Next
list_as_grid: false
cache_enable: true
form:
action: /home/_contact/
name: contact
fields:
-
name: name
label: Name
placeholder: 'Enter your name'
autofocus: 'on'
autocomplete: 'on'
type: text
default: test
buttons:
-
type: submit
value: Submit
process:
-
message: 'Thank you for your feedback!'