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.

Using saved options in Notifications

  1. I have a custom wordpress cms setup, and have various business information including emails and labels (Sales, Tech Support, etc) already being captured and saved into wp-options.

    Is there a way to pull these into the notifications field in Gravity Forms so that my clients don't have to enter this information in multiple place? I use get_option() to display these values in the theme - is there a way to use something similar to feed these values into the notifications for the form - specifically to populate the email addresses for notifications?

    Posted 12 years ago on Friday February 17, 2012 | Permalink
  2. Hi, bghouse,

    You can't modify this in the admin, but you can change the email addresses before the form is submitted. You can use the gform_notification_email (http://www.gravityhelp.com/documentation/page/Gform_notification_email) hook. In this hook you can use the WordPress functions to get your values, you just need to have the email addresses separated by a comma when you return the value in the hook.

    Posted 12 years ago on Thursday February 23, 2012 | Permalink

This topic has been resolved and has been closed to new replies.