Conditional statement
From SmartWiki
[edit]
Conditional Statements For Web page view Field:
A Web Page View Field can have conditional statements similar to if/else statements.
Syntax:
<!--@sslogic(condition)-->
statement if true
<!--@else-->
statement if false
<!--@end-->
Example to display 'if' when the month is December:
<!--@sslogic(month(now())=12)-->
if
<!--@else-->
else
<!--@end-->
Example to display 'Address 2' when it is not empty:
<!--@sslogic('@contact.primary applicant.Address2@'!=' ')-->
@contact.primary applicant.Address2@<br>
<!--@end-->
