Support

Account

Home › Forums › Add-ons › Repeater Field › Conditional Checkbox Statement in Repeater › Reply To: Conditional Checkbox Statement in Repeater

  • This was solved by ACF Support.

    Here is the code if anyone is interested:

    <?php 
    $chckbox_value = get_sub_field('blog_style_gallery_options');
    if( $chckbox_value && in_array( 'border', get_sub_field('blog_style_gallery_options') ) )
    {
        echo "border test";
    }
    ?>