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
    Member

    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

    thanks

    Posted 11 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 http://www.gravityhelp.com/documentation/page/Gform_notification_format#Examples (UPDATE - for 1.7, the filter is gform_notification http://www.gravityhelp.com/documentation/page/Gform_notification )

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

    Posted 11 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.:

    {Name:1}
    {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.

    -Kat

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

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

    Posted 11 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 1.5.2.2. I've tried pasting the following into my functions.php file:

    <?php
    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
    else
    return "html"; //setting user notifications as text
    }

    ?>

    What am I doing wrong?

    -Thanks, any help is much appreciated.

    Posted 11 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 11 years ago on Friday May 17, 2013 | Permalink