0
edits
Changes
no edit summary
Conditional statements can be used in formulas with the following structure:
:<font size="3">'''@variable@=if(''conditional statement'',''value if true'',''value if false');'''</font>
You can also use the '''Case''' syntax:
@level1.Notice Text@=CASE '@level1.status@' WHEN 'Status 1' THEN 'Submission Cutoff is March 5th.' WHEN 'Status 2'
THEN 'Thank for your submission' WHEN 'Status 3' THEN 'Congratulations' ELSE 'I have no comment' END;