Zum Inhalt springen

flexform: html als label

Erstellt am 18. Juni 2008 · 1 Antwort · letzte Antwort am 13. Dezember 2009

Tags: Frage

howdini ·

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

Ulrich ·

Hallo howdini,

hast Du mittlerweile eine Lösung gefunden? Ich habe nämlich das gleiche Problem...

Viele Grüsse

Ulrich