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.

Form in sidebar is directs to email contact based on the title in the post/page

  1. boltonj
    Member

    Pre-sale question:

    Can I use Gravity form to direct a form in the sidebar to a support person based on the tile or URL of the post being viewed.

    For example the post/page title/URL subject is California and so the Gravity form on the sidebar would direct any email inquires to the California support persons email address.

    Posted 13 years ago on Tuesday February 15, 2011 | Permalink
  2. You couldn't do it based on the title or URL of the post. Gravity Forms simply wouldn't know who to send the email to in that situation.

    You can configure Gravity Forms to send email notifications dynamically but it requires custom code. It's very easy to setup Gravity Forms to send the email notification of the form to the author of the post, or to an email address stored in a custom field in the post meta for that post. It requires some custom code, but it's very easy and there are numerous examples on the support forum that discuss how to do this.

    So yes, it is possible but it doesn't do it out of the box. You have to tell Gravity Forms what email to send the email notification to and you can use code to customize how Gravity Forms gets this email address.

    Posted 13 years ago on Tuesday February 15, 2011 | Permalink
  3. boltonj
    Member

    What I'm looking for is for Gravity form to have a look-up table (states and emails) that if the title is a certain state it will cross reference to a certain email address.

    For example:

    Titles with California will be sent to: abc&email.com,
    Titles with Arizona will be sent to: def&email.com

    and etc.

    Posted 13 years ago on Wednesday February 16, 2011 | Permalink
  4. This isn't something Gravity Forms does out of the box. You could do this with Gravity Forms, but it doesn't have a look-up table you can customize. You would have to creative that functionality and integrate with Gravity Forms using an API hook you can use to tell it which email to send the notification to.

    So it's not going to do what you want out of the box, you would have to customize it. What you are asking for is specialized functionality so it's not something that is a built in feature of the plugin.

    Posted 13 years ago on Wednesday February 16, 2011 | Permalink