Hi David,
I assume it's outputting an empty <li> when the checkbox is unchecked.
Check the name of the field is used consistently. I think there was a typo on my code.
<?php global $wp_query; global $post_id; $post_id = $wp_query->post->ID; $checkboxes = get_post_meta($post_id,'wpcf-checkboxes',true); for ($i = 0; i < count($checkboxes); i++) { $value = types_render_field("incluido", array('option' == $i)); if ( $value ) { echo '<li><i class="icon-check"></i>' . $value . '</li>'; } } ?>
Best regards,
Bruce