I'm getting the following error:
An exception has been thrown during the rendering of a template ("Craft\SproutForms_EntryModel and its behaviors do not have a method or closure named "CONTACTFULLNAME".") in "CONTACT FORM ENQUIRY FROM: {{object.CONTACTFULLNAME|raw}}
The form has the following fields:
contactFullName
email
message
The email notification fields for the first email Contact Form - Thank You
message contain:
Subject: Contact Form - Thank You {contactFullName}
Message: Thank you for contacting us, {contactFullName}. We will be in touch soon.
And for the other email:
Subject: Contact form enquiry from: {contactFullName}
Message: You have received an enquiry Enquiry from {contactFullName} - {email} “{message}”
Can anyone shed any light onto why this capitalised reference to the CONTACTFULLNAME missing method or closure (by this I presume field) appears in the logs? The form is getting saved, but no email sent due to this message.
{entry.contactFullName}
? Picked this up from the docs here: sprout.barrelstrengthdesign.com/craft-plugins/email/docs/… – Luke Pearce Apr 28 '16 at 15:21{object.contactFullName}
, however that just throws a different error:An exception has been thrown during the rendering of a template ("Craft\SproutForms_EntryModel and its behaviors do not have a method or closure named "entry".") in "Contact form enquiry from: {{object.entry.contactFullName|raw}}" at line 1.
– Adam Menczykowski Apr 28 '16 at 15:30