Re: [Jason] Radio buttons and pulldown selects from a list field
Hi,
thanks for the help so far, the problem is that I'm getting an error using the code you provided:
Notice: Undefined index: produkt in /var/www/vhosts/vike.no/httpdocs/cmsAdmin/lib/database_functions.php on line 451 Unknown optionsType ''!
I replaced mySection with the sectionname I'm using and myListField with a field called 'produkt' inside that section. Like this:
//radio buttons
<?php foreach (getListOptions('contactformRecord', 'produkt') as $value => $label): ?>
<input type="radio" name="myListField" value="<?php echo $value;?>" /><?php echo $label;?> <br/>
<?php endforeach ?>
Any suggestions?
-aev-