PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

css email sent with own style and without blue blocks possible?

  1. pedro67

    Hi there

    I was searching for a way to bring the whole output on one page without the blue blocks separating the output fields.

    My client needs a hudge form for order cake online. With another plugin the result-page in email was one page. With GF it is three pages because each line gets a hudge spacer.
    How can I format this?
    I am testing already the 1.7 beta 2


    Posted 9 years ago on Sunday March 31, 2013 | Permalink
  2. That format is built in to Gravity Forms and is used whenever you use the {all_fields} helper. If you don't like that format, you have two options.

    1. You can format the notification as plain text rather than HTML by adding this code to your theme's functions.php (UPDATE - for 1.7, the filter is gform_notification )

    2. You can create your own email notification by using individual merge tags in your notification, rather than {all_fields}

    Posted 9 years ago on Monday April 1, 2013 | Permalink
  3. When I try to create my own email notification and add the merge tags, because my fields are interview questions it doesn't seem to be adding the full merge tag i.e.:

    {Blog URL:2}
    {Email Address:3}
    {5. How do you keep your blog and home life in balance? What does a

    Notice how item 5 doesn't look like a full merge tag. Is there a fix for this?

    Thanks for your help.


    Posted 9 years ago on Thursday May 2, 2013 | Permalink
  4. reubz

    I would like to know the answer to KatLee's question also...

    Posted 9 years ago on Wednesday May 15, 2013 | Permalink
  5. Hi I am trying to do the same thing as pedro67 and am trying to format the email notification as plain text rather than HTML. I can't seem to get it to work.

    I am using Version I've tried pasting the following into my functions.php file:

    add_action("gform_notification_format", "set_notification_format", 10, 4);
    function set_notification_format($format, $notification_type, $form, $lead){

    if($notification_type == "admin")
    return "text"; //setting admin notifications as text
    return "html"; //setting user notifications as text


    What am I doing wrong?

    -Thanks, any help is much appreciated.

    Posted 9 years ago on Friday May 17, 2013 | Permalink
  6. David Peralty

    Please upgrade your version of Gravity Forms. We don't support such old editions as many updates and bug fixes have been applied since then.

    Posted 9 years ago on Friday May 17, 2013 | Permalink