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

Johannes C. Schulz - EnzephaloN IT-Solutions info at enzephalon.de
Fri May 3 07:03:01 CEST 2013


Hallo und guten morgen

Ich habe nochmal hier rumgedoktert.
Egal ob ich <!-- ###IF_child1>0### --> oder <!-- ###IF_child1!=0### -->
schreibe, der Inhalt dahinter wird immer ausgegeben. Es scheint fast so als
wenn das IF garnicht arbeiten würde.
Gibt’s hier ggf ein Problem, da der Feldname eine Zahl enthält? Habe ich
irgendwas im IF falsch geschrieben? ###IF_value_child1!=0### macht ja auch
keinen Sinn, oder?

Bin echt n bissl ratlos...

Johannes


-----Ursprüngliche Nachricht-----
Von: typo3-german-bounces at lists.typo3.org
[mailto:typo3-german-bounces at lists.typo3.org] Im Auftrag von Johannes C.
Schulz - EnzephaloN IT-Solutions
Gesendet: Donnerstag, 2. Mai 2013 15:53
An: 'German TYPO3 Userlist'
Betreff: Re: [TYPO3-german] Formhandler: IF-Condition im HTML-Template

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


_______________________________________________
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