trying to create the basic contact form (used example from grav docs); all going well until I try to actually use it. Form loads fine, can fill in all the fields, but upon hitting submit I get the " 0 - Process could not be started [The system cannot find the path specified. ]" error. I have no idea why this isn’t working and I am extremely new to all of this.
thanks,
j
---
title: 'Contact us'
form:
name: contact-form
fields:
-
name: name
label: 'Your name (optional)'
placeholder: null
autofocus: 'on'
autocomplete: 'on'
type: text
validate:
required: false
-
name: email
label: 'Your email address'
placeholder: null
type: email
validate:
required: true
-
name: message
label: Message
size: long
placeholder: 'Enter your message'
type: textarea
validate:
required: true
buttons:
-
type: submit
value: Submit
classes: 'btn btn-lg btn-primary'
-
type: reset
value: Reset
classes: 'btn btn-lg btn-secondary'
process:
-
email:
from: '{{ config.plugins.email.from }}'
to:
- '{{ config.plugins.email.to }}'
- '{{ form.value.email }}'
subject: '[Feedback] {{ form.value.email|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
---