I use Umbraco forms( last version) and i have a date filed. On submit it sends(via email) datetime format (date and time). I would like to receive an email only with date.
I've tried to use "Send XSLT transformed email workflow" and when i configured the workflow i uploaded "sendXsltEmailSample.xslt" file (from appPlugins/UmbracoForms) but on submit i got an error : Could not find a part of the path '...\media\633778\sendxsltemailsample.xslt' and i think that the reason for this is that i save media files in Azure.
Another option for format data? It's wired that i can set time in form but on submit the system automatically adds time(12:00:00).
How to remove time from a date at submit
Hi all,
I use Umbraco forms( last version) and i have a date filed. On submit it sends(via email) datetime format (date and time). I would like to receive an email only with date.
Thanks.
Hi Lazau,
If you want to have full control over the email, that you are sending out, when a form in Umbraco Forms is submitted then you need to use the
Send XSLT transformed email workflow. https://our.umbraco.org/documentation/Add-ons/UmbracoForms/Editor/Attaching-Workflows/#send-xslt-transformed-email
I think that you could use some like this in the email.
Where the caption of the field is Date.
Hope this helps,
/Dennis
Hi Dennis,
I've tried to use "Send XSLT transformed email workflow" and when i configured the workflow i uploaded "sendXsltEmailSample.xslt" file (from appPlugins/UmbracoForms) but on submit i got an error : Could not find a part of the path '...\media\633778\sendxsltemailsample.xslt' and i think that the reason for this is that i save media files in Azure.
Another option for format data? It's wired that i can set time in form but on submit the system automatically adds time(12:00:00).
Thanks, Florin
is working on a reply...