Support

Account

Home Forums Front-end Issues Displaying Checkbox Values gives Error Reply To: Displaying Checkbox Values gives Error

  • Hi @aaronrobb

    The code you have posted above does not use the implode function.

    Perhaps you need to debug your code to make sure it can be implodeed.

    You can debug data by printing it like so:

    
    <?php 
    
    echo '<pre>';
    	print_r( get_field('field_type_use') );
    echo '</pre>';
    die; ?>
    

    Perhaps I should let you know that your above code is very complicated to achieve a very simple function. Perhaps you should look into the get_fields and get_field_objects function.

    Thanks
    E