• Resolved andyguzman

    (@andyguzman)


    I have a some field groups on a post type, each with a few basic text fields inside of them.

    When I use the ACF feature to control visibility, the outer field groups are selectable but I cannot see any of the fields inside of them. Should it be possible to use the sub fields and something is wrong on my end, or is this the expected behavior?

    If I had the pro version, would I be able to instead just use a meta field condition and use it like field_group_field_name? I know that can work in GenerateBlocks to fill data dynamically.

    This looks like a great plug-in, and I’m sure I’ll get use out of it either way! Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi @andyguzman,

    Thank you for reaching out. The ACF control should display a dropdown that allows you to select any ACF field that has been created, broken down by the field group that the field is in. You should not be able to select the field groups directly.

    However, it sounds like you might be using the “Group” field type, which then supports sub-fields. If so, you are correct, Block Visibility does not currently allow you to choose sub-fields within a “Group” field type. You can only choose from top-level fields.

    That said, you can use the Metadata control as you described. The control is fairly basic, but it works well for text-based fields. You would just set the meta key to field_group_field_name.

    Please let me know if I can answer any additional questions.

    Best,
    Nick

Viewing 1 replies (of 1 total)

The topic ‘Should ACF subfields work?’ is closed to new replies.