Hallo,

Ich habe folgendes Template:

<!-- ###master_toerntyp### -->
###error_toerntyp###    
<div class="ym-fbox-select ###is_error_toerntyp###">
<label for="toerntyp">###LLL:toerntyp###</label>
<select id="toerntyp" name="###formValuesPrefix###[toerntyp]" class="select">
<option value="###LLL:toerntyp.0###" 
###selected_toerntyp_###LLL:toerntyp.0######>###LLL:toerntyp.0###</option>
<option value="###LLL:toerntyp.1###" 
###selected_toerntyp_###LLL:toerntyp.1######>###LLL:toerntyp.1###</option>
<option value="###LLL:toerntyp.2###" 
###selected_toerntyp_###LLL:toerntyp.2######>###LLL:toerntyp.2###</option>
</select>
###validate_toerntyp###
</div>
<!-- ###master_toerntyp### -->


Über den PreProcessor wird ein Default-Wert gesetzt, was auch funktioniert.

Wenn ich im Formular nun den zweiten oder dritten Eintrag auswähle und in der 
Validierung tritt ein Fehler auf, ist die Auswahl verloren und es wird der 
erste Eintrag angezeigt. Ohne Fehler wird die Auswahl in die E-Mail übernommen.

Ist in meiner Definition noch ein Fehler?

Gruß, Johannes.

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an