I have several forms that use eval'd php code to create options for radio button and checkbox elements. I see in the list view these are showing the id rather than the value, no doubt because that is what was saved in the database.
from the standard example:
foreach ($rows as $row) {
$options[] = JHTML::_('select.option', $row->id, $row->text);
}
return $options;
Shows the $row->text in the form but in list view the $row->id is displayed. Any assistance is appreciated.
I feel like this used to work before 3.10 but I cannot be absolutely certain.
from the standard example:
foreach ($rows as $row) {
$options[] = JHTML::_('select.option', $row->id, $row->text);
}
return $options;
Shows the $row->text in the form but in list view the $row->id is displayed. Any assistance is appreciated.
I feel like this used to work before 3.10 but I cannot be absolutely certain.