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.

Triggering an email

  1. Is there a way to trigger an email to someone when a specific field exceeds a certain number?

    i,.e, When registered guests is greater or equal to 10 send an email to support@website.com letting them know we have hit the max

    Many thanks!

    Posted 13 years ago on Tuesday November 22, 2011 | Permalink
  2. Yes, something like this is possible. We'll need more details to help you with it though. A link to your form showing the field you're talking about will help us give you specific advice.

    You would use a hook to run some code after each form submission. You could check the number of slots remaining, or number of people already registered, and when that condition reaches your threshold, you will send a notification email. The hook you could use is gform_after_submission and it's documented here:
    http://www.gravityhelp.com/documentation/page/Gform_after_submission

    If you need more help, please share specific details of what you're trying to accomplish. Thank you.

    Posted 13 years ago on Wednesday November 23, 2011 | Permalink
  3. That would be perfect! How much time do you guess it would take to implement this ... client needs an estimate :)

    Posted 13 years ago on Wednesday November 23, 2011 | Permalink
  4. We're going to need a little more information from you first.

    1. Is your form online now? If not, it will need to be, so we can create an example using your actual form inputs instead of hypotheticals.

    That will probably answer a lot of questions. Please post a link to that form when you have it online, or export the form as XML and email it to chris@rocketgenius.com if the site is not live yet.

    Thanks.

    Posted 13 years ago on Thursday November 24, 2011 | Permalink