Love the simple, clean interface. As a non-programmer I even understand some of it! Keep up the good work.
I'm trying to use Simpleforms to create a competition entry form.
I've edited:
app/extensions/SimpleForms/config.yml
to add a new form and updated the entries to suit my system as follows:
- Code: Select all
osentrydewar:
recipient_email: squadding@egtsc.co.uk
recipient_name: Squadding
# recipient_cc_email: another@example.com
# recipient_cc_name: Another Email Address
fields:
subject:
type: text
class: wide
required: false
label: Subject of your message
placeholder: Just a quick test message ..
name:
type: text
required: true
placeholder: Your name ..
email:
type: email
label: Email address
required: true
placeholder: Your email ..
use_as: from_email
use_with: name
Based on entries of:
name: Mike
email: mike@kettle.me.uk
I'm expecting an email from Mike<mike@kettle.me.uk> addressed to Squadding<squadding@egtsc.co.uk>
When I fill in the form and submit it I get an email from squadding<squadding@egtsc.co.uk> addressed to Squadding <mike@kettle.me.uk>.
Am I misunderstanding the fieldnames or is there a slight glitch in the code?