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.

Would it be possible to have form emails sent based on what checkboxes are...

  1. cnymike
    Member

    My website is a directory of wedding vendors. Each vendor is assigned to a particular category ie: photographers, caterers, florists, etc.

    I currently have a form that allows visitors to request additional information from the vendors and they select what categories, via checkboxes, of vendors they would like information from. In other words if a visitor wanted information from photographers and florists, they would checkbox photographers and florists.

    The submitted form is sent to the administrator and is then simply "redirected" via email to ALL the vendors, regardless of what categories were selected. This is not an ideal situation.

    I was wondering if there would be a way to have some logic here, that would send the submitted form only to the vendors in each selected category and not send the form to anyone else. I can't get my head around this.

    I guess it would be somewhat like using multiple WP custom fields, each of which would hold the email addresses of each category of vendors. Somehow this would be tied to what checkboxes were selected and ultimately, when the form is submitted, it would only go to the vendors that are in the category(ies) that had been selected via checkbox.

    Is this making sense?

    Posted 14 years ago on Thursday June 3, 2010 | Permalink
  2. Can't this be done using the Notification routing for the Admin Notification? You can send to a specific email address based on a drop down/radio button/check box selection. This is in the Notifications section, you select Routing under the Send To field and then setup the routing rules.

    http://www.gravityhelp.com/documentation/edit-forms/notifications/

    Posted 14 years ago on Thursday June 3, 2010 | Permalink
  3. cnymike
    Member

    Thanks Carl. I'll try that.

    What about hiding the multiple emails in a BCC?

    Posted 14 years ago on Friday June 4, 2010 | Permalink
  4. Currently no, there isn't an option to BCC. But it a good suggestion, we will add it to our feature suggestion list that we review when developing new versions of the plugin.

    Posted 14 years ago on Friday June 4, 2010 | Permalink

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