1. Home
  2. /
  3. Web Design & Development
  4. /
  5. WordPress
  6. /
  7. How to enable cc field in Gravity form email notifications?

How to enable cc field in Gravity form email notifications?

How to enable cc field in Gravity form email notifications

Gravity forms are one of the most powerful solutions for building custom forms and flows to connect with your users and expand your reach.

And, if you’re using Gravity Forms on your website for collecting user’s data through your website contact forms. You might come across a situation where you will need to send notifications to more than one people on form submissions.

In order to send multiple gravity form (submission) email notifications, you can use too, BCC part of the notification form to add the email ids. Use comma (,) to separate and add more email ids to the list.

By default, the gravity form has hidden or inactive CC field in the notification form. And, in order to enable that you need to add some piece of code in your website’s theme functions.php file.

Default Gravity Form Notification Form

How to enable cc field in Gravity form email notifications -Default Notification form

In the above form you will see there is no CC field to add your email ids.

In order to enable that field, open the functions.php file in the website’s active theme/template. And, add the below piece of code.

<?php 
add_filter('gform_notification_enable_cc', 'enable_cc', 10, 3 );
 
function enable_cc( $enable, $notification, $form ){
  return true;
}
?>

Once added, save the file and refresh the notification page in the backend. You will start seeing the CC field in the form. Add the email id you want to notify as the CC and you’re done.

How to enable cc field in Gravity form email notifications -cc enabled Notification form

To learn more: gform_notification_enable_cc

Reviews & Ratings Get your stoe online with Shopify in 60 minutes Shop Now