Title: Should ACF subfields work?
Last modified: March 2, 2023

---

# Should ACF subfields work?

 *  Resolved [andyguzman](https://wordpress.org/support/users/andyguzman/)
 * (@andyguzman)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/should-acf-subfields-work/)
 * 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](https://wordpress.org/support/users/ndiego/)
 * (@ndiego)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/should-acf-subfields-work/#post-16521152)
 * Hi [@andyguzman](https://wordpress.org/support/users/andyguzman/),
 * Thank you for reaching out. The [ACF control](https://blockvisibilitywp.com/knowledge-base/how-to-use-the-advanced-custom-fields-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](https://blockvisibilitywp.com/knowledge-base/how-to-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.

 * ![](https://ps.w.org/block-visibility/assets/icon-256x256.png?rev=3122657)
 * [Block Visibility — Conditional Visibility Control for the Block Editor](https://wordpress.org/plugins/block-visibility/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/block-visibility/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/block-visibility/)
 * [Active Topics](https://wordpress.org/support/plugin/block-visibility/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-visibility/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-visibility/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nick Diego](https://wordpress.org/support/users/ndiego/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/should-acf-subfields-work/#post-16521152)
 * Status: resolved