Hi
I have a "status" field with 4 values it change his color in the visual editor with this code:
switch ($value) {
case 1:
$value= "<font color='red'>Open</font>";
break;
case 2:
$value= "<font color='orange'>Asiggned</font>";
break;
case 3:
$value= "<font color='green'>Solved</font>";
break;
case 4:
$value= "<font color='gray'>Closed</font>";
break;
}
Adittionally each one has his table with data inside, that is showed in ajax with a master-detail inclusion, now i want that if the status is open it just show the ajax control in the case 1 value add the control {$ver_asignacion_dtablelink_attrs}>Asiggned{BEGIN ver_asignacion_childcount}({$ver_asignacion_childnumber}), but hace error, how can i do this.
Thanks