... also etwa so:
if (!CheckValueList_Anrede($FTGAnrede, 1, kMandatory)) {
$FTGErrorMessage['Anrede'] = 'id="anrede" class="error" name="Anrede" size="1">
<option class="error"></option>
<option class="error">Frau</option>
<option class="error">Herr</option>
<option class="error">Firma</option>';
$validationFailed = true;
}
und
$codeHtmlForm = str_replace('id= "anrede" name="Anrede" size="1">
<option></option>
<option>Frau</option>
<option>Herr</option>
<option>Firma</option>', $FTGErrorMessage['Anrede'], $codeHtmlForm);
Richtig?
Gruß
dieselross
--
- life's for learning -
Ceterum censeo IE esse delendam
- life's for learning -
Ceterum censeo IE esse delendam