[FLOW3-general] Multiple conditions in if view helper

David Sporer david.sporer at gmail.com
Mon Oct 15 21:49:10 CEST 2012


Hey guys,

 

how can I use multiple conditions in one view helper?

I thought something like this might work but it does not what I expect it to
do:

<f:if condition="{0: object.field, 1: object.field } == {0: 'value1', 1:
'value2'}">

 

What I want to do is something like this:

If($mystring!=='value1' || $mystring!=='value2')

 

Is this possible with Fluid?

 

Best regards

David



More information about the FLOW3-general mailing list