I had this problem a few months ago and it got fixed - but it has come back with a vengeance.
I have many different CRED forms that have notifications enabled that are triggered when the value of a custom field is changed.
I have found that for all of those CRED forms, the notifications are being triggered no matter what the value of the custom field is.
One example is a Donation Edit Form that has two different notifications - one goes if the value of the select field "Donation Thanks Notification" is equal to "Thanks Email to GUEST"; and one that is triggered is the value of that select field is "Thanks Email to USER".
Currently, it doesn't matter WHAT the value of that select field is - a notification goes out. (One of the values in the select field is "NO EMAL" and if I chose that one, the email notifiations go out anyway!
Please let me know what other info you need in order to help me with this. (It is happening with ALL of my notifications, not just this one.)
Thanks.
Elise
Dear Elise,
I assume we are talking about same problem as your previous thread:
https://toolset.com/forums/topic/cred-notifications-triggered-incorrectly/
This should have been fixed, please try these:
1) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017, and test again
2) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and Form URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
Okay - I did a little trouble shooting on my own - and it seems that as long as I make sure to tick the "only if value has changed" box, the notifications go out mostly properly.
The only exception is that if I DELETE a post altogether - even if that post said "NO EMAIL" at the time of deletion, an email is generated - and the types fields codes are showing as shortcodes like this:
Dear [types field=’donation-first-name’][/types] Green,
Thank you for your generous donation of $[types field=’donation-amount’ format=’FIELD_VALUE’][/types] on [types field=’donation-date’ style=’text’ format=’F j, Y’][/types].
This is an embarassing email to send out to someone whose donation record has just been DELETED.
Also - it is still weird to me that if I do NOT tick the "only if value has changed" box - then the notifications don't work properly. What happens is that if I change from "SEND EMAIL" to "NO EMAIL" - the FIRST time I update the form a notification will still go out anyway - then after that, if "NO EMAIL" remains in the field, the email will stop going out.
Anyway - I will check my other forms that are having issues and see what happens if I experiment with the "only if value has changed box".
Elise
Q1) The only exception is that if I DELETE a post altogether
Please elaborate the problem with more details, how do you delete a post altogether?
In wordpress dashboard? or in front-end?
How and where can I see the delete link in your website?
Q2) Also - it is still weird to me that if I do NOT tick the "only if value has changed" box
There are 117 posts forms in your website, which one is the problem form?
How and where can see the problem in front-end.
Again, have you tried to deactivate plugins and switch theme? do you need help to export the website database? I need to duplicate the same problem in my localhost.
I meant that I was deleting from the WordPress dashboard - I have not created a delete link.
I have not yet deactivated all the plugins and switched the theme - my website is huge so it is really hard to do.
I will try ... but I won't be able to export the website database. It is too big - and it always failed and Duplicator never works for me.
I am happy to give you permission to experiment on my live site.
Elise
I have tried your website credentials, both of them are valid, I will try to export the database dump file from your website.
But I need details for your question:
The only exception is that if I DELETE a post altogether
Please elaborate the problem with more details, how do you delete a post altogether?
In wordpress dashboard? or in front-end?
How and where can I see the delete link in your website?
Thanks
Sorry - I thought I already said in the last post - I mean that I delete a post from the dashboard (NOT the front-end). I have not created a delete link - I just delete the post in the back end.
I have tried few times to export your website database with Duplicator plugin, but always get the same error:
This server cannot complete the build due to setup constraints.
And I don't want to break your website when doing debug, so please ask your webserver provider to get the database dump file.
And I need details to duplicate the same problem: The only exception is that if I DELETE a post altogether
Please point out the problem URL in dashboard, which one is problem post? After delete the post, the email will be sent.
And your problem is related with Toolset form plugin, the email notification should be triggered in front-end, after submit the form, which one is the problem form? please point out the form URL, where can I submit the form? please point out the problem front-end page URL.