hallo,
in meinem flexform wollte ich mehrere checkboxen per itemsProcFunc generieren lassen.
als beispiel hab ich folgenden code in die function:
function chooseProducts ($config)
{
$optionList = array();
// add first option
$optionList[0] = array(0 => '<img src=".....">', 1 => 'value1');
// add second option
$optionList[1] = array(0 => 'option2', 1 => 'value2');
$config['items'] = array_merge($config['items'],$optionList);
return $config;
}
ich will jetzt im option-feld html code haben, ist das möglich?
bitte um schnelle hilfe