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.

Conditional selections /pre-sale question

  1. I don't see anything in the forum which address what I'm looking to do and can't work out from the demo or the features page if this is possible:

    Is there a way based on a drop-down menu selection to either display and/or email a link link (product link)? In other words, if selection A was chosen, they receive a link to product A, if they select B, receive B.

    Many thanks!

    Posted 14 years ago on Monday May 24, 2010 | Permalink
  2. Currently there is not a built in way to do this. Notification emails do not have conditional logic surrounding them. We do plan on adding this feature.

    You could accomplish this but you would have to do so by writing custom PHP. How comfortable are you with PHP?

    Posted 14 years ago on Monday May 24, 2010 | Permalink
  3. I'm very comfortable modifying PHP (themes/plugins) or calling functions, but writing a theme or plugin from scratch would take me some time. If it is fairly straightforward, I'd probably be willing to give it a shot, or if it's more difficult I'd consider hiring someone for this...

    When you say "some" custom PHP, I find this reassuring. ;-)

    john.

    Posted 14 years ago on Tuesday May 25, 2010 | Permalink
  4. Is there an ETA on implementation of this feature? Even something like in the next few months. It is also a feature I need on a current project.

    Posted 14 years ago on Wednesday May 26, 2010 | Permalink
  5. Carl, can you explain how this would be accomplished? Without installing the plugin it's tough for me to see how the custom code would fit in. Would I set up a redirect to a page which passes the product information then the code on that page parses the information and continues to redirect to the proper product page?

    Or would it require actually modifying the form code within the plugin?

    Thanks!

    Posted 14 years ago on Friday May 28, 2010 | Permalink
  6. You would write some custom PHP that you would place in your themes function file that uses one of the available Gravity Forms hooks to check for the value of a field and then send the appropriate content in the email notification based on which field value they selected.

    It doesn't involve modifying the plugin itself, it uses an API hook to change the plugin programatically.

    Posted 14 years ago on Friday May 28, 2010 | Permalink
  7. Thank you Carl, this seems pretty straightforward... we'll probably give this a shot!

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

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