PDA

View Full Version : Help with Comparison Operator


crozon
07-27-07, 05:50 PM
Hello,

I'm trying to get this expression to work...am I missing something?

<mvt:if expr="l.settings:attr:prompt EQ 'Colour' OR 'Style'">
then do blah blah blah.

for some reason it will work with Colour and it works for style but if I add the OR in there to do either one it doesn't work.

Thanks,
Christine
Weddingfavours.ca

Nerd Boy Inc
07-27-07, 05:59 PM
Dear Christine,

Try:

<mvt:if expr="l.settings:attr:prompt EQ 'Colour' OR l.settings:attr:prompt EQ 'Style'">