Well, as it says, it's experimental at most… this code works with RADIO, after a quick look at the code I guess it works with SELECT but wont work with CHECKBOX.
$valueLabel is the variable to use (same way: as array)
$args = array('type' => 'post','child_of' => 0,'parent' => '', 'orderby' => 'name', 'order' => 'ASC', 'hide_empty'=> 0,'hierarchical'=> 1,'exclude'=> '','include'=> '','number'=> '','taxonomy'=> 'category','pad_counts'=> false );
$categories = get_categories( $args );
$outValues = Array();
$outLabels = Array();
foreach($categories as $category) {
$outLabels[] = $category->name;
$outValues[] = $category->slug;
}
$valueLabel = $outLabels;
$values = $outValues;
In theory, you should be able to rewrite any of these variables, and this is probably well documented in Author's web site, sadly to me: it's full of funny looking symbols :P
$cftnum = $values = $valueLabels = $default = $hideKey = $label = $code = $class = $style = $before = $after = $selectLabel = $multipleButton = $onclick = $ondblclick = $onkeydown = $onkeypress = $onkeyup = $onmousedown = $onmouseup = $onmouseover = $onmouseout = $onmousemove = $onfocus = $onblur = $onchange = $onselect = '';
Have fun,
Gaston Gorosterrazu