I have created a form that can be submitted by e-mail. I would like the data entered into the form to populate the subject line and body of the email but have no idea of how to script this. I would be grateful if someone could have a look at the form and see how I can achieve this.
subject line: Travel and accommodation form [Name] [EventName] [StartDate]
Please open the attached travel and accommodation for for [Name] who will be attending [EventName] on the [Start Date]