I'm sure this is dead simple but I'm not getting it. I want to use the cms:if tag to display something if a date field has been set and is later than today's date. I've got the second bit OK, it's the first bit I have a problem with. I know I can use cms:if to determine if a value has been set (i.e., it doesn't evaluate to null or blank or ''). But how do I use to determine if it has NOT been set? How do I negate this? That is, how do I do what in Javascript would be something like 'if(!condition)'?
- Code: Select all
<cms:if "<cms:not var />" >.. </cms:if>