I'm sorry guys I'm an idiot. I've just spotted my mistake in the code. It was a naming error leaving ConditionB not being assigned. Sorry for wasting your time thanks for the help.
On Saturday, 4 August 2012 00:34:50 UTC+1, adohertyd wrote: > > Just wondering if anyone has a solution to this. I have an if statement in > a view: > > {{if conditionA == "Yes":}} > {{for obj in ListA:}} > <li>{{=obj}}</li> > {{pass}} > {{pass}} > > > > This works fine. Now, if I add another condition to the if statement, that > I know exists: > > {{if conditionA == "Yes" and conditionB=="Yes":}} > {{for obj in ListB:}} > <li>{{=obj}}</li> > {{pass}} > {{pass}} > > > > It gives me no output but it definitely should. Am I missing something > here? I can't see any similar examples in the docs > > --