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.

user notification email global footer text

  1. Is it possible to add a footer text to all user notification emails for all the forms that are in use... Hopefully also from one place so if I want to change it that it will change in all user notification emails. If yes...how?
    Thanks in advance.

    Posted 11 years ago on Thursday August 23, 2012 | Permalink
  2. Yes, you can do this. There are two pieces to it:

    http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter
    http://www.gravityhelp.com/documentation/page/AutoResponder

    You can try something like this:

    [php]
    add_action('gform_pre_submission_filter', 'add_notification_footer');
    function add_notification_footer($form){
    
            // append your footer to whatever the autoresponder message is from the form builder
            $form['autoResponder']['message'] .= "<p>Thank you for contacting Acme Enterprises. &copy; " . date('Y') ."</p>";
    
            // always return the form object
            return $form;
    }

    Modify the footer HTML ("<p>Thank you for contacting Acme Enterprises..." above) and add that code to your theme's functions.php.

    Posted 11 years ago on Friday August 24, 2012 | Permalink
  3. Thanks! That looks great, I will try it out.
    Thanks again.

    Posted 11 years ago on Friday August 24, 2012 | Permalink
  4. I tested it and it worked OK on all forms for me. Let us know if you have any trouble.

    Posted 11 years ago on Friday August 24, 2012 | Permalink