Home › Forums › Feature Requests › Select Boxes : Return value type › Reply To: Select Boxes : Return value type
I don’t think that you can do this for different cases of the same field used on the same page. The only time you’d be able to alter this is when the field is loaded using an acf/load_field filter. This would effect the return value wherever the field is used after that, but you could set it dependent of a specific page, perhaps.
The best choice would be to always return both and then use the one you need.
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.