Home › Toolset Professional Support › [Resolved] Is there a way to create a message attached to the selection of a taxonomy?
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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
Tagged: Toolset Forms, Types plugin, Views plugin
This topic contains 4 replies, has 2 voices.
Last updated by Minesh 6 years, 3 months ago.
Assisted by: Minesh.
We have a product taxonomy.
It is attached to our "docs" post type and our "contacts" post type.
When someone chooses a taxonomy item I would like to show a message of the "contacts" field "email addresses" if the contact has that taxonomy choice marked. I am not getting on how to call that in a CRED form.
On a related note conditionally displaying inside CRED based on taxonomies seems to be completely broken - https://toolset.com/forums/topic/conditional-display-based-on-taxonomy-selection-in-a-cred-form/
I have tried name, slug, and ID... nothing. We use 100s of conditional statements including at least 10 on this form so well versed on that side. This was working somewhat for us before and not sure which version broke this.
[cred_show_group if="($(source-product) = '693')" mode="fade-slide"] <div style="float:left; width: 900px; height: 500px;"> blahhh!!! </div> [/cred_show_group]
I did get the "name" to work with conditional statements - slug and ID no.
Hello. Thank you for contacting the Toolset support.
Well - the reference ticket you shared is almost one year old.
You should use the GUI to add your cred_show_group conditional statement. If you still do not see its working.
Please share problem URL and access details so I can check further what's going on.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
Can you ignore the conditional statement part of the post please? I will put that in another ticket.
Just
We have a product taxonomy.
It is attached to our "docs" post type and our "contacts" post type.
When someone chooses a taxonomy item I would like to show a message of the "contacts" field "email addresses" if the contact has that taxonomy choice marked. I am not getting on how to call that in a CRED form.
When someone chooses a taxonomy item I would like to show a message of the "contacts" field "email addresses" if the contact has that taxonomy choice marked. I am not getting on how to call that in a CRED form.
=> Do you mean that on your form when the user chose taxonomy term A, you want to match the same term A of contact post, so If user chose A and contact also have A term, then display the message / emails address?