Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Feature request: conditionals

I don't know whether this has been addressed elsewhere on the board, but it would be unbelievably nice to be able to have the {$if statement check the *contents* of a field, and not simply whether it's there or not. For example, I'd like to be able to alter how the index page displays an article based on whether it contains a specific keyword in the {$.keywords$} field. I've been hackishly doing it based on whether or not I've typed any gibberish into the extra1 and extra2 fields, which is kind of limiting given the number of fields I have to work with. It would be nice to have a more robust capability for this kind of thing.

Matt Eric
Wednesday, August 07, 2002

Yep, several people have asked for this before, but the messages have scrolled off the discussion forum index. We've all got our fingers crossed waiting for the next version!

Darren Collins
Wednesday, August 07, 2002

*  Recent Topics

*  Fog Creek Home