sitecore-exmsitecore9

Sitecore 9 forms - capture input from form then put that information to exm email template


How do you get the user input (e.g. First Name, Last Name etc...) from sitecore 9 forms then put that to exm email template before sending the email?

What i want to achieve is for example: I have a form that have first name, last name and position and comments field and i want that user input data (first and last name, position and comment) to be pass on the email template that on the EXM and send it as an email upon clicking the submit button in the form. Is that possible?


Solution

  • You need to update the contact details, you can do that with a custom save action.

    It is documented on the Sitecore doc website see: Walkthrough: Creating a custom submit action that updates contact details

    This are the steps:

    The following blog explains Sitecore Forms Send Email Campaign message alternative you can also create an custom sent e-mail or if you need other examples of custom Forms extensions see Sitecore-Forms-Extension-Pack