Hello,
I want to implement conditional display of form inputs based on taxonomy and I can't get it to work.
I reviewed this document and followed the instructions:
https://toolset.com/course-lesson/conditional-display-for-form-inputs/
The Listing Types taxonomy that I set up has Food & Beverage and Tourism as Parent taxonomies and Restaurant and Accommodations as their respective children. I set up the Listing custom post type, a listing field group (with common/shared fields between restaurants and accommodations), a restaurant field group, and accommodations field group.
I'm now in the Edit Post Form screen, I've added Conditional Groups and was hoping to be able to choose the custom field Accommodations Class if the taxonomy selected is Accommodations. When I click on the select menu for Field under the Conditional Group Options, I can only see the custom fields that are in the listing, restaurant, and accommodations field groups that I set up. The taxonomy Listing Types is included on the form, but it is not showing up as something that I can select in the Conditional Group Options Field menu.
I saw that other people have had similar trouble with this so I tried setting display options for the taxonomy as a set of checkboxes, a select dropdown, and a select dropdown with multiple selection, saving the form in between each change that I made and none of those options caused the Listing Types taxonomy to show up as a field option that I could use for the condition/if statement.
Then I deleted all of the children taxonomies in Listing Types thinking maybe it was the parent/child thing that was throwing this off and tried the same combinations, also I allowed the user to add new taxonomies which I had turned off before and it still doesn't work.
I am using all of the latest versions of the various Toolset plugins.
Any ideas?
Thanks,
Jen