[TYPO3-english] multiple conditions with if
Katja Lampela
katja.lampela at lieska.net
Sun Apr 22 10:52:53 CEST 2012
Hi,
I need to get this condition chain:
show field1 (10 below)
if field1 is empty show field2 (20)
if both field1 and field2 are empty, show some text (30)
I try to make it with following COA
10 = TEXT
10 {
if {
isTrue = ###FIELD1###
}
value = ###FIELD2###
}
20 = TEXT
20 {
if {
isFalse = ###FIELD1###
isTrue = ###FIELD2###
}
value = ###FIELD2###
}
30 = TEXT
30 = TEXT
30 {
if {
isFalse = ###FIELD1###
isFalse.if {
isFalse = ###FIELD2###
}
}
value = show some text
}
The 10 and 20 work ok, but I have troubles with the 30.
--
With kind regards
Katja Lampela
*Lieska-tuotanto*
www.lieska.net
More information about the TYPO3-english
mailing list