How can I disable gform to send any confirmation message to the user?

Hi,
I have created a newsletter registration form that connects to mailchimp and stores the data there.
That’s ok.
But now I would like to be Mailchimp the one that sends the confirmation message to the user, instead of gform.
How can I disable gform to send any confirmation message to the user upon submission?

Hi, @user655c6ca2af2a9481

To disable notifications, you can use the gform_disable_notification filter.

To disable the notifications for all forms, you can use the filter like this:

add_filter('gform_disable_notification', '__return_true');

To disable the notifications for one specific form instead, you can do so by ID.

Let’s say your form’s ID is 12.

You’d then use something like:

add_filter('gform_disable_notification_12', '__return_true');

Documentation: https://docs.gravityforms.com/gform_disable_notification/.

If you don’t want to use code to disable the notifications, you can go to the Form Settings > Notifications page of the form and use the toggle next to each notification to set them to inactive.