Support

Account

Home Forums General Issues Relationship field conditional logic Reply To: Relationship field conditional logic

  • Hi,

    Yes, conditional logic is what you want.

    You would do something like:

    if (get_sub_field(‘menu_type’) == ‘Featured’) {
    // add your fields here
    }

    The function will vary depending on what you’re checking against (radio or checkbox), or what level your field sits at in your field group.

    Check the docs for how reference either of those fields. That should get you started.