[TYPO3-english] multiple conditions with if
Jigal van Hemert
jigal.van.hemert at typo3.org
Sun Apr 22 11:49:14 CEST 2012
Hi,
On 22-4-2012 10:52, Katja Lampela wrote:
> 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)
10 = TEXT
10 {
value = field1
ifEmpty.cObject = TEXT
ifEmpty.cObject {
value = field2
ifEmpty = show some text
}
}
--
Jigal van Hemert
TYPO3 Core Team member
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-english
mailing list