• Resolved waynerd

    (@waynerd)


    We have a long form with lots of data. The recipients need to print it quite often but because the notification email is sent using only one item per line and way too much space between them this takes up a lot of paper and isn’t user friendly.

    I reached out to “support” and was told I can use HTML in the notification message and then utilize the smart fields which I have. I have a simple 3 column table with text and the smart code, in my html editor it all looks great and should print to one page fine.

    I dropped the table code in the notification message field but when the form is filled out the recipient gets an email with all the code spelled out, the data lost in the code etc. The HTML I was told I can use is not rendering.

    Do I need to include the head and body tags and define an HTML doc type all within the notification message box? Is so what do I need to include?

    Why can’t the message box be one like this one, with a code option?
    Thanks.
    Wayne

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Wayne,

    If you’re seeing the HTML (tags, etc) in the notification, it sounds like your forms are most likely set to use plain text notifications. Plain text isn’t able to render code, so it will display HTML just as it looks in a code editor.

    To check on this, you can go to WPForms > Settings > Email tab. There, the top option is HTML or plain text emails (here’s a screenshot of the setting you should see). With this set to HTML format, any HTML (or CSS) that you add to the Message field of your notification should render properly.

    I hope this helps! When you’ve had a chance to check into this, could you let me know how it goes or if you still see any issues?

    Thanks!

    Thread Starter waynerd

    (@waynerd)

    Hey Jess, Thank you, I would have never thought to go back to there to turn that back on. However, it’s almost there but not quite. Basically I’ve built a table, which has about 15 rows and three columns, IT is actually looking close to how I want it but for some reason the end result email has a full page of blank white space before it (in my Mac mail). So unless you scroll down it looks like the email is blank. Any ideas what would cause this?

    Jess Quig

    (@jquigam)

    Hi Wayne,

    Sure, I should be able to help with some clarification on that ??

    The spacing that you’re seeing happens because we run our notification emails through the wpautop function (so email content formatting essentially mimics WordPress posts and pages).

    However, you can avoid this by first running your table content through something like https://www.willpeavy.com/minifier/. So you’d just copy the HTML into that site, click “Minify” and copy it back into the Message field for the notification.

    I hope this helps! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Notification Email Customization’ is closed to new replies.