Thread: Custom Coloring
View Single Post
Old 05-31-2011, 02:38 PM   #34
mezme
Connoisseur
mezme began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Dec 2009
Device: PRS700
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.
mezme is offline   Reply With Quote