Home › Forums › Add-ons › Flexible Content Field › How to limit flexible layouts to use only once? › Reply To: How to limit flexible layouts to use only once?
And I did it like that. The point is that I use flexible field as options chooser. It looks like that:
I have repeater field. Inside of repeater I have: flexible-field “page-builder” and flexible-field “options”. Inside “Options” I have some layouts, for eg. “dimensions” or “colors”. Those options will work only for one repeater row, so I want to prevent possibility to choose “colors” more than once.
I use flexible-field because I don’t want to load unnecessary fields when they are not needed.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.