Home › Forums › Feature Requests › Tab Layout Reset › Reply To: Tab Layout Reset
I noticed that tab layout does not break when displaying acf_form in as page content (i.e. with acf_form_head() + acf_form() in theme template)
try this:
– create acf group a dropdown with 2 values and 2 tabs appearing each according to the dropdown value (so tab #1 appears when dd has value #1 and tab #2 appears when dd has value #2)
– create another group, with higher order value, containing a text field.
– display the forms in your page.
Fields in the second group will only be displayed then dd has value #2.
If you add the empty endpoint tab second group will correctly show. But the tab will be displayed as an empty (gray?) item between the 2 groups.
I can provide the code, tested on WP4.6.1 and ACF Pro.
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.