Tell us what you are trying to do?
I have a custom field group called Plan. In that group I have checkboxes. The options on that checkboxes are Free, Yearly, Monthly, Lifetime. I have another checkboxes named Status with options Active, Inactive. Now I want to avail the Status chekcboxes only when I select Lifetime in the Plan checkboxes. How can I do that?
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site?
Hello,
Toolset Data-Dependent does not support custom checkboxes field, as a workaround, you can switch to a custom taxonomy, and use it as the condition.
See below test site:
Login URL:
hidden link
1) Create a custom Hierarchical taxonomy "Plan":
hidden link
Add terms into above taxonomy:
hidden link
2) Edit your custom field group:
hidden link
in section "Settings for test group 1", option "Appears on", set the condition as below:
- Post Type(s): Your custom post types
- Term(s): Yearly
- when ALL conditions are met
3) Create a post:
hidden link
in section "Plan", enable term "Yearly", save the post and refresh browser, you will be able to see the custom field group of step 2)
More help:
https://toolset.com/course-lesson/conditionally-display-custom-fields-in-wordpress-backend/#conditionally-display-a-group-of-custom-fields
My issue is resolved now. Thank you!