Conditional Logic on taxonomies

Support MB Conditional Logic Conditional Logic on taxonomies

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48312
    Tanja KropfTanja Kropf
    Participant

    I have a taxonomy called listing_type_selection in one custom field group. In another, I have taxonomies called Features. In the Features custom field group, I have different taxonomy fields, e.g. general features, food and drink features, business features, etc.

    I am trying to only show fields from the Features custom field group based on the Listing Type Selection. For example, if someone picks Food & Drink>Restaurant, then I want the food and drink features taxonomy selections to show.

    I have tried more ways than I can count. Support told me I needed to change the fields to taxonomy advanced, but I tried that today and it didn't work either. How can I conditionally show taxonomy fields based on the input of another taxonomy field?

    #48314
    PeterPeter
    Moderator

    Hello Tanja,

    Can you please export the field groups to JSON files and share them here? I will import field groups to my demo site and help you check the conditional logic.
    Refer to the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import

    #48316
    Tanja KropfTanja Kropf
    Participant

    Yes, I'll do that. Let me ask this first. I was reading more about not being able to use taxonomies in group fields. Mine aren't grouped with subfields but they are all in one custom field. The field is called Features & Amenities. Then, in that field I have multiple (ungrouped) taxonomy fields:

    Custom Field: Features & Amenities
    Taxonomy Field: Food & Drink
    Taxonomy Field: Entertainment
    Taxonomy Field: Seating & Admission
    etc...

    Is that an issue in conditional logic?

    #48318
    PeterPeter
    Moderator

    Hello,

    I'm not sure what do you mean they are all in one custom field, in that field I have multiple (ungrouped) taxonomy field. How taxonomy fields are in one custom field? Is the custom field the group field?

    Can you please share the field group JSON file so I can understand what you are doing there?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.