I have a form setup that uses the "Date" Question that only has a date picker (no time).
However the email that is sent out via the "Send email" workflow shows the date as "4/20/2017 12:00:00 AM" How can I remove the time part of the email and also format the date as "20/4/2017"?
You need to transform your email template, to use the send a XSLT transformed email, send the result of the form to an email address (full control over the email contents by supplying a XSLT file) -
Email time issue
I have a form setup that uses the "Date" Question that only has a date picker (no time).
However the email that is sent out via the "Send email" workflow shows the date as "4/20/2017 12:00:00 AM" How can I remove the time part of the email and also format the date as "20/4/2017"?
Hi Jack
You need to transform your email template, to use the send a XSLT transformed email, send the result of the form to an email address (full control over the email contents by supplying a XSLT file) -
https://our.umbraco.org/documentation/Products/UmbracoForms/Editor/Attaching-Workflows/#Sendxslttransformedemail
Find this file in your file structure: /App_Plugins/UmbracoForms/Xslt/sendXsltEmailSample.xslt
Hope it will help you, do you have some experience with XSLT?
Thanks,
Alex
Hi Jack
Did you solve your issue? Can I help you?
Alex
is working on a reply...