[TYPO3-german] Formhandler: IF-Condition im HTML-Template

Johannes C. Schulz - EnzephaloN IT-Solutions info at enzephalon.de
Thu May 2 15:52:50 CEST 2013


Hallo Rene

Ich habe das nun mal mit dem ">" statt dem "!=" getestet. Leider
funktioniert das auch nicht.
Ich verstehe das einfach nicht! Auch wenn die Bedingung falsch ist wird der
Inhalt ausgegeben... 
Jemand eine Idee dazu?

Nochmal das HTML-Formular:
<select size="1" name="formhandler[child1]" class="childs">
          <option value="0">&nbsp;</option>
          <option value="1">###LLL:age_til### 1 ###LLL:years###</option>
          <option value="2">###LLL:age_til### 2 ###LLL:years###</option>
        
Nochmal das HTML-Email:
<!-- ###IF_child1>0### -->
          ###value_child1### 
 <!-- ###IF_END### -->



Johannes


-----Ursprüngliche Nachricht-----
Von: typo3-german-bounces at lists.typo3.org
[mailto:typo3-german-bounces at lists.typo3.org] Im Auftrag von Rene
Gesendet: Dienstag, 30. April 2013 18:48
An: typo3-german at lists.typo3.org
Betreff: Re: [TYPO3-german] Formhandler: IF-Condition im HTML-Template

Hallo Johannes,

ist bei mir zwar schon etwas her, aber ich versuche mich mal zu erinnern da
ich gerade nicht nachsehen kann.
Meines Wissens wird "ungleich" bzw "!=" von Formhandler in den
"IF-Bedingungen" von Templates nicht unterstützt.

Versuche mal bitte folgendes im Template
<!-- ###IF_child1>=0### -->
           ###value_child1###
<!-- ###IF_END### -->

Natürlich muss Du der ersten Option in der Selectbox den Wert "0" geben.

Bitte gib Bescheid, ob's funktioniert, oder nicht.

MfG Rene

Am 30.04.2013 11:49, schrieb Johannes C. Schulz - EnzephaloN IT-Solutions:
> Hallo typo3 Gemeinde und Formhandler-Spezies
>
>   
>
>
> <!-- ###IF_child1!=.### -->
>
>            ###value_child1###
>
>          <!-- ###IF_END### -->
>
>

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




More information about the TYPO3-german mailing list