Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jack Lawry 23 posts 146 karma points c-trib
    May 10, 2017 @ 16:12
    Jack Lawry
    0

    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"?

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    May 11, 2017 @ 08:35
    Alex Skrypnyk
    100

    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

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    May 12, 2017 @ 10:55
    Alex Skrypnyk
    0

    Hi Jack

    Did you solve your issue? Can I help you?

    Alex

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies