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.

Display selected products (only) in email

  1. Hi there,
    Is there a way to only display products (that the user has selected) in the email that gets sent?
    For example, most of the products have different selectable options (by means of a drop down), the visual que is 'please select...' which returns (or has associated to it) no $ value.
    So rather than getting a long email with multiple 'please select...' entries (where the user has decided not to select one of these products on a form) is it possible to only display those which they have selected - does that make sense?
    Here's a couple of screen shots;
    https://www.evernote.com/shard/s3/sh/fcf13b57-2b75-493c-90fd-a946c3511496/1ed1cfc356f52b70dc6811681e3d516b
    https://www.evernote.com/shard/s3/sh/7bfe94ce-8077-42f6-8a9a-ea1adbe2ae58/575adf4dbb1622a90433093f1c58d77a
    See what I mean - i'm sure there's probably a much better way to do this...?
    Jas

    Posted 11 years ago on Wednesday October 31, 2012 | Permalink
  2. This is a good question. Let me ask the developers. I'm curious as well and may have missed an option somewhere. I did not see a useful option on this page:
    http://www.gravityhelp.com/documentation/page/Merge_Tags

    Maybe you have to craft the notification manually rather than using {all_fields} or {pricing_fields}.

    Posted 11 years ago on Wednesday October 31, 2012 | Permalink
  3. Hi, Jason,

    Double-check that you do NOT have a price set for the "Please select" choice. It needs to be left blank instead of setting it to zero.

    Posted 11 years ago on Thursday November 1, 2012 | Permalink
  4. My need is close to Jason's: I need to generate an email pointing to a specific url depending on a choice made with a radio button. To be more precise, I am dealing with predesigned Christmas cards located on those url, thus dealing with "senders", and "receivers". I need the system to generate 1- an email to the "receiver" of the card, including his own data and some data concerning the "sender" (all of this provided through the form by the "sender") and, most important, the url link to the card and 2- a notification message to the "sender" of the card (ideally an email but I could be satisfied with a screen display if the "email" function is already used for the "receiver".
    In an ideal world, I would have also liked the system to display, as the last page of the form, kind of a "summary" of the data provided and asking to click "Send" if everything was OK.
    I have some problems generating the email to the receiver and the notification to the sender, and have a BIG problem generating the final step summarizing PRIOR to the "send".
    For what comes AFTER the "send", I can see what tools can be used, having only some formatting problems.
    For the step BEFORE sending, I can't even see which tool, which box, which field would allow me to handle the data through merge tags...
    The link provided here is to an uncomplete form, of course!
    And it is in french!!!
    http://beta.ecdq.org/?gf_page=preview&id=22#gf_22

    Thanks for help,
    Daniel

    Posted 11 years ago on Thursday November 1, 2012 | Permalink
  5. Daniel, there are a lot of questions in one topic here so I will do my best to address them all.

    Also, we can't see your form preview - that is visible to logged in members with proper permissions (not the general public or any other visitor.)

    I need the system to generate 1- an email to the "receiver" of the card, including his own data and some data concerning the "sender" (all of this provided through the form by the "sender") and, most important, the url link to the card

    I'm not sure what the card is or how it was created, and if it is created outside Gravity Forms, how the URL is generated.

    I assume in your form you are going to have the two email addresses, one for sender and one for receiver. If that is the case, you can send the user notification to the "receiver". You can include the link to the card, but I'm not sure how that URL is generated or when.

    and 2- a notification message to the "sender" of the card (ideally an email but I could be satisfied with a screen display if the "email" function is already used for the "receiver".

    You can use the gform_after_submission hook to send a notification to the sender, if you need to, but it's much easier to just display the confirmation on-screen. You could also send the user notification to the sender, as well as recipient, as a copy of what was sent.

    In an ideal world, I would have also liked the system to display, as the last page of the form, kind of a "summary" of the data provided and asking to click "Send" if everything was OK.

    To satisfy this requirement, please see this additional functionality which was coded by one of the Gravity Forms developers: http://gravitywiz.com/2012/08/04/better-pre-submission-confirmation/

    Please try putting some of this online and sharing a link to your form so we can try it out. Let us know where you get stuck. This is a fairly advanced custom use of Gravity Forms, but it can all be accomplished. It will require some work on your part to make it all work seamlessly.

    Posted 11 years ago on Wednesday November 7, 2012 | Permalink