Hi all,
I have a form where I want some of the details to go into an email to the person who is filling out the form.
Currently I am using this in the onsuccess of the form:
Office365Outlook.SendEmailV2(
User().Email,
"Order from: jbloggs@bloggs.com",
"Request Details:<br>
Time & Date of request: " & Text(Form1.LastSubmit.Time, "[$-en-US]dd/mm/yyyy") & " " & Text(Form1.LastSubmit.Time, "hh:mm") & "<br>
Venue: " & Form1.LastSubmit.'Room ' & "<br>
Number to be catered for: " & Text(Form1.LastSubmit.'Number to be catered for')
)
Which works I now want to add in another field from the form which is called Food option this option is from sharepoint (like all the fields on the form) the type of field is choice.
I have trued this
Office365Outlook.SendEmailV2(
User().Email,
"Order from: jbloggs@bloggs.com",
"Request Details:<br>
Time & Date of request: " & Text(Form1.LastSubmit.Time, "[$-en-US]dd/mm/yyyy") & " " & Text(Form1.LastSubmit.Time, "hh:mm") & "<br>
Venue: " & Form1.LastSubmit.'Room ' & "<br>
Food Options: " & Form1.LastSubmit.'Food Option'.Value & "<br>
Number to be catered for: " & Text(Form1.LastSubmit.'Number to be catered for')
)
However it doesnt work.
Any ideas?

Report
All responses (
Answers (