Quote Originally Posted by RodG View Post
I note the that "$i" variable isn't being set anywhere. Perhaps that's the problem?

Cheers
Rod
Ooops! That was left over from some experimenting I was doing. I finally figured out what my issue was - I wasn't assigning the checkboxes a $pInfo->'metaphysical_id'. My actual code for the checkbox array should have been:
PHP Code:
<?php 
$tmp_checkbox 
'';
while (!
$metaphysical->EOF) {
$tmp_checkbox .= zen_draw_checkbox_field('metaphysical_id',$metaphysical->fields['metaphysical_id'], $pInfo->metaphysical_id) . $metaphysical->fields['metaphysical_material'] . "<br/>"
$metaphysical->MoveNext();
}
$options_name[] = $metaphysical->fields['metaphysical_material'];
$options_menu[] = $tmp_checkbox "\n";
?>
which I would have known days ago if I had taken two seconds to research the function.

Thanks again for all your help - your posts have helped me out of more than one tight spot. :)