I use gravity form (developper licence).
+ Gravity Forms PDF Extended
+ Gravity Forms PayPal Add-On
I have a form. When a user submits the form, a pdf containing all datas opens
+ this user receives a notification ("notif1") by mail with all datas.
+ the administrator receives a notification ("notif2") with all datas, too.
I add two radio buttons :
1- pay by paypal - 10$
2- pay by check
and a field "product" with just a price. This field is displayed only if "pay by paypal" is checked.
<strong>WHAT I WANT :</strong>
case 1 :
if "pay by check" is checked, when a user submits the form, a pdf containing all datas opens (maybe I will choose another way... maybe a redirection to a page, because the pdf is attached in the notification)
+ this user receives a notification ("notif1") by mail with all datas.
+ the administrator receives a notification ("notif2") with all datas too.
case 2 :
if "pay by paypal" is checked, when the user submits the form, no pdf opens, paypal opens
+ this user receives a notification about payment ("notif3") by mail
+ the administrator receives a notification about payment ("notif4") by mail
<strong>WHAT I HAVE :</strong>
case 1 :
if "pay by check" is checked, when a user submits the form, a pdf containing all datas opens
+ this user receives a notification ("notif1") by mail with all datas.
+ the administrator receives a notification ("notif2") with all datas too.
it's good...
<strong>...BUT :
+ this user receives a notification about payment ("notif3") by mail
+ the administrator receives a notification about payment ("notif4") by mail</strong>
case 2 :
if "pay by paypal" is checked, when the user submit the form, no pdf opens, paypal opens
+ this user receives a notification about payment ("notif3") by mail
+ the administrator receives a notification about payment ("notif4") by mail
it's good...
<strong>...BUT :
+ this user receives a notification ("notif1") by mail with all datas.
+ the administrator receives a notification ("notif2") with all datas too.</strong>
Could you help me to achieve my goal ?
Kyle answers:
Have you tried using the 'Send to' 'Configure Routing' option to handle the conditional notifications?
You could set that to sent to no one if radio button = check and send to customer if radio button is paypal, etc etc and on for each one.
Kyle comments:
Essentially, you can have a notification for each circumstance, then using the routing option, you set it to either send to no one, or send to the customer/admin based on the radio. Duplicate and reverse for the second notification type.
Sébastien | French WordpressDesigner comments:
fucking good plugin !
Kyle comments:
:) Yes it is