Andrew Donnan
posted this on November 25, 2008 12:24
This task is overdue
Use the if tag to evaluate boolean expressions and alter presentation based on the result.
If the test is true, the contents of the tag are displayed. If they are false, the contents are omitted.
Tips:
You may also use 'and' and 'or' in for the if test like the example below which is testing to see if the field 'priority' is present or has a value.
<if test="@priority and @priority != ''">No Priority is set</if>
Use this example to test the value of an input field called status to show a message if it is "Open":
Use this example to suppress the output of a field, but still have it available for if test statements.