• Resolved monayam

    (@monayam)


    Hi,
    I am looking for a solution to send different mail for different dropdown selection.
    This is the content form I have created.

    [text* Name placeholder "Name"]
    
    [email* email placeholder "Email"]
    
    [tel* tel placeholder "Phone"]
    
    [date* date min:2021-03-19 "Select Date"]
    
    <label> Select Meeting time [select* Meeting include_blank "Sunday 8:30 p.m." "Sunday 10am" "Monday 9am" "Tuesday 8:30 p.m." "Tuesday 8:30 pm" "Wednesday 8:30 p.m." "Wednesday 20:00" "Thursday 8.30am"]
    </label>
    
    [submit "Submit"]

    I want if someone selects “Sunday 8.30 pm.” from the dropdown list I want him/her to receive mail like:
    “Thank you. The meeting will be held Sunday at 8:30 p.m.
    It is very important to connect 15 minutes before the meeting starts.”

    If someone select “Sunday 10 am” from the dropdown list I want him/her to receive mail:
    “Thank you. The meeting will be held Sunday at 10.00 p.m.
    It is very important to connect 15 minutes before the meeting starts.”

    Let me know how to send this conditional message as I can see there is only 2 mail in the contact form. Thank you.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    You don’t need conditional logic of conditional fields plugin. Just put this in your email message:

    Thank you. The meeting will be held <strong>[Meeting]</strong>
    It is very important to connect 15 minutes before the meeting starts.
    Thread Starter monayam

    (@monayam)

    Thank you. What the solution can be if we want to send totally diffrent massege?

    Plugin Author Jules Colle

    (@jules-colle)

    Well, there’s a bit of a work-around to achieve this.

    First you need to create a group for each of your options, like this:

    
    <label> Select Meeting time [select* Meeting include_blank "Sunday 8:30 p.m." "Sunday 10am" "Monday 9am"]
    </label>
    [group su0830p][/group][group su1000a][/group][group mo0900a][/group]
    

    Then add these conditions

    
    show [su0830p] if Meeting equals "Sunday 8:30 p.m."
    show [su1000a] if Meeting equals "Sunday 10am"
    show [mo0900a] if Meeting equals "Monday 9am"
    

    Finally you can create different messages by adding this in the email body field:

    
    Hi,
    
    [su0830p]
    You selected sunday 8.30 pm. You are welcome to come then, or give us a call if that doesn't work out for you.
    [/su0830p][su1000a]
    Better not oversleep! You have a meeting this Sunday at 10:00 am.
    [/su1000a][mo0900a]
    Everybody hates mondays.
    Do you? Oh I know, we should organize a meeting on monday, cause everybody's eager for a meeting on monday morning!
    [/mo0900a]
    
    Bye bye now,
    The meeting company
    
    Thread Starter monayam

    (@monayam)

    Wow. It’s really easy. Thanks a million!

    Plugin Author Jules Colle

    (@jules-colle)

    np ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Different mail for different dropdown Selection’ is closed to new replies.