Conditions for ACF repeater fields?

  • I have an ACF repeater field and a GB Query block setup to display the repeater and it’s nested fields. I want to use Conditions to hide the parent repeater based upon the value of a nested field. Is that possible?

  • Hi there,

    I don’t have ACF Pro to test the repeater field. Have you tried? Does it not work?

  • I have tried and I cannot figure out a way to reference the nested repeater fields in Conditions like we can in GB query blocks.

  • You should be able to create a condition by adding post meta > has value > custom meta key > meta field name.

    Let me know if this works!

  • I have tried using ‘visible’ (https://share.zight.com/qGumg8W4) and ‘{{loop_item key:visible}’ (https://share.zight.com/Wnugw9gk). Neither worked. Here are what the values look like in the database (https://share.zight.com/eDu4op4q) which is why I was trying to use a loop item.

  • I think the post meta condition might not support nested fields.

    If you can provide an admin login, I can do some testing to confirm if it’s possible.

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