Home › Forums › Feature Requests › Hidden field › Reply To: Hidden field
No idea if this will help others ( as it is an old topic ), but this is what I came up with to solve a similar issue. I needed a hidden value that would act as a slug to pull in other templates.
Added a radio button control which asked the user to display or not to display this specific section. “Show Section” held the value of the hidden slug I needed to pull and would also be defaulted to this value, otherwise without the value the section would be skipped entirely and not shown.
my-slug : Show Section
0 : Don’t Show Section
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.