Selected Radio Button From Value List
Posted 13 December 2010 - 08:15 AM
A radio button field on the Add Record page that I want to default to No is called "Disclaimer". Here is the PHP. Can someone tell me how to mark "No" as selected when it comes from a value list?
<td class="field_data"><?php getInputChoices("radio", layout->getValueList('YesNo',
$record->getRecordId()), $record->getField('Disclaimer', 0) ,
getFieldFormName('Disclaimer', 0, $record));?>