I'm feeling a bit "clueless" right now... I'm sure there is a simple solution but I can't seem to get the coding right.
I'm wanting to test using two fields format and rating.
I know to test rating the correct code (or at least the code that works) is: {rating:switch(1,green,2,red,3,green,4,black,5,bla ck,green)}
How can I add code that would test the format field?
What I want it to do is:
If format is false then be red else test rating.
Suggestions?
Last edited by mezme; 05-31-2011 at 04:23 PM.
|