Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Forms Module Emails

edited November 2016 in Modules
Is it possible and if so how would I be able to include the form data in the email sent after submission. Alternatively if it's possible (and preferable) to view the form submission on the site, Entries only shows the data in a CSV format. Which it says in the docs is for exporting, but being able to view it on the site would be nice too.

Comments

  • edited 3:43AM
    The Fuel_forms::get_email_message() method looks at the "email_message" property on the object. If it is a callable function or closure, it will call it passing in the current form object and the $posted values (line 1527). You can use double curly brackets like so {{ $email }} in your returned string which will get parsed.

    For the CSV download alternative, the challenge there is that even though it's likely that the form fields won't change, it is possible, which means that the data could be completely different between rows and therefore makes it difficult to show consistently in a table format.
Sign In or Register to comment.