This support ticket is created 3 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I looked at the previous thread, and I'm not sure why custom code is being proposed for the solution, as it is not necessary, unless I have misunderstood the request.
You have a form to submit a post. You want to send a notification when the form is submitted, but you want to send different notifications depending on the value of some custom field submitted with the form.
The simplest solution would be to create the two notifications in the form settings, and then in each notification settings choose to send the notification when the custom field value matches the requirement. (In my screenshot I'm sending this particular notification when the custom field Station = 1.)
You should be able to remove all of the custom code relating to this.
We made the changes.
However during testing it appears that now "Ik wil het aanbod gratis bekijken" no longer unfolds the required fields at hidden link.
I strongly get the feeling that whenever 1 issue gets solved another one pops up.
The conditional display code is part of the code shared across the suite of plugins, so were I to downgrade to Types 3.4.10 that wouldn't help in itself because the newer—problematic—version available with Blocks 1.6, or Forms 2.6.10, or Access 2.8.12, or Maps 2.0.9 would be used in its place.
To revert the code causing this particular issue would necessitate downgrading each of those plugins, and not just Types.
I don't know if anything you have done subsequently depends on the current versions, or if the current versions have fixed issues that you had previously.
I spoke to the developer in question who returned from vacation today, and says he expects to work on this tomorrow, so I suggest we wait to see if he is able to provide a fix then.
I spoke to the developer this morning, and unfortunately they have not had time to fix the issue yet, though they hope to get to it by the end of the week (but that could be Sunday rather than Friday).
I'll keep pushing them, we need a fix for this issue soon.
I'm still waiting on news of a fix from the developer. I can see on the internal ticket that they have begun working on it, but it is not resolved yet, and I don't want to speculate about how much longer it may take.
I'll update you when I have something more concrete to share.
Did the developer had "time" now to fix the unfold issue "Ik wil het aanbod gratis bekijken"? You will understand that this is urgent as we loose a lot of valuable registration info as a consequence of this bug.
The fix for the issue with conditional fields has now been published.
If you don't see an update notice on your plugins page, click the registered link for one of the Toolset plugins to take you to the custom Toolset installer page, and use the Check for Updates button, otherwise you can download the latest versions from your downloads page at toolset.com/account/downloads.
When I check the form on the registration page, there is a conditional group after the field "Ik wil het aanbod gratis bekijken", is that what we are talking about?
The condition to display that group checks the username field to see if it is empty (see screenshot).
I'm guessing that is not your intention. Do you need to change that so that it checks whether the "Ik wil het aanbod gratis bekijken" checkbox field is checked?
The condition fields were set properly, but they are changed now. Yes, we want the correct fields to appear again only when the checkbox field "Ik wil het aanbod gratis bekijken" is checked.