• Resolved guiderwebdesigner

    (@guiderwebdesigner)


    So I’ve seen variations of what I’m looking for but I haven’t quite figured out how to get my desired outcome.

    I have a form that has 3 groups. Let’s call them group-a, group-b, group-c.
    At the end of each group, I have a radio selection with options to call the customer. The options being, “yes”, “no” and “email is fine”.

    In my Mail(2) setup I basically want this to happen

    if in either group a,b or c customer selected “yes”
    Print ""
    if in either group a,b or c customer selected “no”
    Print ""
    else
    Print ""

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter guiderwebdesigner

    (@guiderwebdesigner)

    The last part, instead of

    else
    Print ""

    I think it’s the same conditions as the other 2 groups.

    As in;

    if in either group a,b or c customer selected “email is fine”
    Print ""
    Plugin Author Jules Colle

    (@jules-colle)

    You’ll need to create additional dummy-groups (empty groups) in your form. For example:

    [group group-yes inline][/group]
    [group group-no inline][/group]
    [group group-fine inline][/group]

    Then add conditions to show these groups (of course nothing should happen visually because the groups are empty). This could look something like:

    show group-yes if group-a-select equals yes
    show group-yes if group-b-select equals yes
    show group-yes if group-c-select equals yes
    show group-no if group-a-select equals no
    show group-no if group-b-select equals no
    show group-no if group-c-select equals no
    show group-fine if group-a-select not equals no
                and if group-a-select not equals yes
                and if group-b-select not equals no
                and if group-b-select not equals yes
                and if group-c-select not equals no
                and if group-c-select not equals yes
    

    Then in your email you could add this:

    
    [group-yes]
      Yes text
    [/group-yes]
    [group-no]
      No text
    [/group-no]
    [group-fine]
      Fine text
    [/group-fine]
    
    
    Thread Starter guiderwebdesigner

    (@guiderwebdesigner)

    Hi Jules, thanks for the quick reply.

    I just finished implementing and testing your suggestion. Worked a charm. Thanks again. Keep it up!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conditional replies in Mail(2)’ is closed to new replies.