Hi I have a few ACF blocks which can be used on their own, or inside Repeaters and/or Flexible content.
I am trying to hide/show a few fields depending on whether the block is on its own or wrapped in a Repeater/Flexible.
I know conditional logic can be used as it is not parent aware The Blocks in question do have a useContext, so i can identify when it is wrapped or not.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users