Tell us what you are trying to do? Conditional display of custom field based on a checkbox
Is there any documentation that you are following? Yes, https://toolset.com/course-lesson/conditionally-display-custom-fields-in-wordpress-backend/
Is there a similar example that we can see? Yes, but you need to login. See how checking different services populates more checbox options.
hidden link
What is the link to your site? hidden link
Hi,
Thank you for contacting us and I'd be happy to assist.
To suggest the best way to achieve this, I'll need to see how these checkbox custom fields are set up in the admin area.
Can you please share the temporary admin login details, along with the exact details about what you're planning to achieve through these conditional checks?
Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.
regards,
Waqar
Thank you for waiting as my forum queue was busier than usual.
The documentation guide that you referred to ( https://toolset.com/course-lesson/conditionally-display-custom-fields-in-wordpress-backend/ ), can be used with the custom fields added through the Toolset Types plugin.
However, the 'Portfolio' field group is being managed by the ACF (Advanced Custom Fields) plugin and not Toolset.
To better understand, how conditional display logic works in the ACF fields, you can consult its official support and documentation.
( ref: hidden link )
Hi Waqar,
I was trying to re-create that functionality using Toolset.
The checkboxes doesn't show up as an option to set the conditional logic.
It works with ACF but doesn't seem work with Toolset.
If this isn't supported with Toolset, will probably just not use Toolset then.
Please advise.
Thanks for writing back.
I've performed some tests and can confirm that the Toolset conditional display settings for the fields work only with the fields which can have only a single value, for example, a 'checkbox' type field.
But, fields like 'checkboxes' where multiple values can exist are not supported.