Please expand on "Conditional Notifications" a little bit

Permalink Browser Info Environment
I am working with another developer who has actually purchased a licensed version of Advanced Forms.

I've created a form and the first question is essentially asking, "Who do you want to contact?"

From here a user would select the person they wish to contact or all of them even and continue filling out the other fields.

The field type I'm using for this is a checkbox, there are three options.

Under conditional notifications I have tried 3 conditions.

Who to contact field name -> equal to -> person 1's name (which is the same as a value assigned to a checkbox option) send to with form data person 1's email address

Who to contact field name -> equal to -> person 2's name (which is the same as a value assigned to a checkbox option) send to with form data person 2's email address

Who to contact field name -> equal to -> person 3's name (which is the same as a value assigned to a checkbox option) send to with form data person 3's email address

This wasn't working for me, is it because instead of being equal to the person's name it should be a Boolean? T/F 1/0 something like that?

When I wasn't having luck with that I tried changing it to "Contains" and now if I choose only one person it still sends to all 3.

Cliff notes: I'm just looking for a walk through on the best practices for using the Conditional Notifications" feature. :)

Thanks

Type: Discussion
Status: New
SpatialAnomaly
View Replies: View Best Answer
jgarcia replied on at Permalink Best Answer Reply
jgarcia
Looks like there were a couple of bugs with how the add-on processed checkbox fields when doing conditional notifications, but these have been fixed now.

Essentially, with what you want to do you will need to setup something like this for each possible email address you want to be able to send to:

If "Who To Contact" "contains" "Person 1 Name" send an email "with form data" to "person1@domain.com"

Make sense?
SpatialAnomaly replied on at Permalink Reply
SpatialAnomaly
Thank you for the update and info, all seems to be functioning great now. Very nice product, definitely something I'll use on other projects down the road.
ld13 replied on at Permalink Reply
ld13
Justin, the conditional Notification is not working for me, I have set it up with four different emails, and it is just not sending the emails, I used to have a receiver on the Forms settings, and that one was working fine, but not the conditional ones
jgarcia replied on at Permalink Reply
jgarcia
ld13, can you give me more details on that or send me login info so I can take a look?
ld13 replied on at Permalink Reply
ld13
I do not know if this is important or no, but by mistake one job was deleted at the System Maintenance page!, not sure wich one was, hee are the ones still in the system

Process Email Posts
Index Search Engine
Advanced Forms - Clear Cache
Generate Sitemap File
jgarcia replied on at Permalink Reply
jgarcia
That shouldn't have affected it. I'm logging in now to take a look...
jgarcia replied on at Permalink Reply
jgarcia
It looks to me like the email is being sent by the CMS, according to the logs (see /index.php/dashboard/reports/logs/ on your site). I also test a conditional notification to myself from your site and it worked. Perhaps it's an issue with the server. I've had problems trying to send to a domain that is the same domain as the website's domain name if the email is hosted on a different server.
jgarcia replied on at Permalink Reply
jgarcia
One heads up - there was an error being logged when the system tried to send the main notification email, since no "to" address was specified. This error shouldn't affect anything else though. I did post a new version (1.4.3.1) that does correct this though.
ld13 replied on at Permalink Reply
ld13
Thanks for your time; however, I will still need to figure out how to solve this issue

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.