ray, i did it again now with the value. but the selected value "Auswahl" means only "select" (in the code below it is in german). so if i don't touch the list/menu the validation don't tell me that i should choose between "Herr" or "Frau".
the validation code on top = $WAFV_Errors .= WAValidateRQ(((isset($_POST["Anrede"]))?$_POST["Anrede"]:"") . "",true,1);
<select name="Anrede" id="Anrede">
<option value selected="selected">Auswahl</option>
<option value="Herr" <?php if (!(strcmp("Herr", (ValidatedField("contact","Anrede"))))) {echo "selected=\"selected\"";} ?>>Herr</option>
<option value="Frau" <?php if (!(strcmp("Frau", (ValidatedField("contact","Anrede"))))) {echo "selected=\"selected\"";} ?>>Frau</option>
</select>
<input name="addblock" type="text" id="addblock" style="display:none" value="" />
<br />
<?php
if (ValidatedField("contact","contact")) {
if ((strpos((",".ValidatedField("contact","contact").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
<p class="promo">* Bitte geben Sie ihre Anrede ein</p>
<?php //WAFV_Conditional contact.php contact(1:)
}
}
}?>