Hi @carcayu80,
I hope you are well, and thank you for reaching out to us.
When using {all_fields} macro, only the fields (including HTML field) visible based on conditional logic will be included in the notification email.
Please try it and let us know if you need further clarification.
Kind Regards,
Nebu John
Sorry, but it doesnt give an elegant e-mail.
If I use {all_fields} macro, then it will include all shown in form, even things like “acceptance” or “hidden queries”. And this e-mail will be sent to the client.
Also, It limit the style of the e-mail, because it will also show labels name etc.
Is there any way to make a form when I put a number of {references} that will be shown in the e-mail, UNLESS not visible because of conditional logic?
Hi @carcayu80
I hope you are doing good today.
You can still use conditional logic in Email Notifications and show only those correct HTML fields. In your case, this should work, because you show an HTML code or another depending on another field.
Here how this will look like in Email Notifications which will have separate templates and their own conditional logic:
1. the main form has some radio button or select called nationality -> {select-1}
2. email one + conditional logic = SEND/ALL + select IS english
Hello
{select-1}
{html-1}
Kind Regards
2. email two + conditional logic = SEND/ALL + select IS spanish
Hello
{select-1}
{html-2}
Kind Regards
Hope this helps.
Kind Regards,
Kris
Fine, I get it.
Just one more question. Is there any limit with html templates? I mean, the language thing was only an example.
The real thing is we are a travel agency and we have, lets say, 20 one day trips. And we have a form in the trip page to ask for a quote, and a button for a “book now!” page. All the trips will have the same book now page destination with the same form, but different query.
The button to the book now page is something like “URL/?trip=XXX” so “trip” will be a query that define what the form should show.
So, keeping in mind will send an e-mail to the client, one more to us, your are saying I have to define like 20×2= 40 email templates.
Is it possible?
One more thing. All the e-mails and form have the same fields, I mean:
{select-1}
{html-1}
Kind Regards
or
{select-1}
{html-2}
Kind Regards
etc
But, keeping in mind we will have like 20 different {html} references, is there any way to redefine the html reference,so instead having {html-1}, {html-2},…{html-20}, having something like {html-paristrip}, {html-lyontrip}, … {html-marseilletrip}?
-
This reply was modified 3 years, 9 months ago by
carcayu80.
-
This reply was modified 3 years, 9 months ago by
carcayu80.
Hi @carcayu80
There is no limit in how many e-mail notifications you can create and they all can be send based on condition.
But yes, if you got 40 possible “combinations” in total then you would need to create 40 of such notifications/templates and set conditions for all of them.
One more thing. All the e-mails and form have the same fields, I mean:(…)
This isn’t supported by the plugin, I’m afraid, and would require quite a bit of custom code to get it implemented so currently those “many e-mail templates” is the only way to make it work.
Kind regards,
Adam
Hello @carcayu80 ,
We haven’t heard from you for some time now, so it looks like you don’t have any more questions for us.
Feel free to re-open this ticket if needed.
Kind regards
Kasia