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.

notification to user selected

  1. geomaniac
    Member

    Hi there,
    I have a form where users sign up for a golf tourney.

    I have another form where people pledge the golfers.

    I would like to notify the user when a pledge has been made to them. When a pledge is made, first they must select which user they want to pledge from a drop-down list, so the data is there, but I'm just not clear how to set this up. My pledge form - http://www.100holesofhope.com/donate/

    When I go to set up the notifications form, I see the relevant dropdown box "send to field". I have 2 options - "email" and "select an email field" but I've no idea which field is which, or if one of them is even the correct field.

    I'm hesitant about testing on a whim as this is a live site so I wouldn't want to send notifications to the wrong people, or sensitive data to wrong people.

    Any help would be appreciated.

    George

    Posted 11 years ago on Wednesday June 26, 2013 | Permalink
  2. ryanmacdesign
    Member

    In the Form Settings, under Notifications, you can apply Conditional Logic. Create a separate notification for each of the 5 Golf Warriors. Then in the conditional logic for each, just match them up...

    On Brian W's Notification, you would set it up to send if ALL of the following match:
    Golf Warrior is Brian W

    If you have a lot more than the 5 on your site, there's probably quicker ways to do this. If you only have 5, this shouldn't take more than a couple minutes each.

    Posted 11 years ago on Wednesday June 26, 2013 | Permalink
  3. geomaniac
    Member

    That's great! Thank you.

    I might end up going that route, however I am interested in a more dynamic solution, so I don't have to manually set up notifications every time I get a new user.

    Also, I'll want to set up a "unsubscribe from notifications" feature as well, so this would all need to be dynamic.

    Posted 11 years ago on Wednesday June 26, 2013 | Permalink
  4. geomaniac
    Member

    Can anyone offer advice on this? See my earlier post.

    Posted 11 years ago on Thursday June 27, 2013 | Permalink
  5. David Peralty

    There is no system where you could unsubscribe from notifications. To set-up the notifications though, you could have it send to the person they select on the form, but to do this, you would have to have stored their e-mail address somewhere that you can then use. So if you had a database table with all the users and their e-mails, you could have the person pledging select a person, and then using our Pre_submission hook, grab their e-mail address from the database, put it in a hidden field, and then always use that Hidden field as the one where the e-mail is sent.

    Posted 11 years ago on Thursday June 27, 2013 | Permalink
  6. geomaniac
    Member

    Thanks. I'll look into that.

    Posted 11 years ago on Thursday June 27, 2013 | Permalink

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