 <tr id="row<?php echo $cfieldid;?>">
    <td>Select <?php echo $cfieldname;?></td>
    <td>
	<div>
	<?php 
if(isset($cfvalues))
{ 
foreach($cfvalues as $key => $val)
		{ ?>        
		<input type="checkbox" name="customvalues"  value="<?php echo $key;?>"><?php echo $val;?>
		<?php }  } ?>
</div>
</td>   
</tr>