Home › Forums › General Issues › True/False Field in Flexible Field › Reply To: True/False Field in Flexible Field
Of course! Here’s the (simplified) code and the attached screenshot of the back-end data. The back-end is in french, hope it won’t cause any problem.
<?php elseif(get_row_layout() == 'image-5') : ?>
<?php var_dump(get_sub_field('keep_grouped')); ?>
<?php endif; ?>
I’ve been able to make it work correctly outside of a Flexible Field.
Thank you!
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.