I am trying to output different html based on if a checkbox is selected or not. Basically, this is so a different class is assigned to the div tag. Right now I have:
<?php echo(types_render_field("inset", array("checked_html"=>base64_encode('<div class="infoBlock">'),"unchecked_html"=>base64_encode('<div class="infoBlockgreen">')))); ?>
but this is outputting nothing at all. What am I doing wrong?