0
edits
Changes
SSlogic
,no edit summary
</pre>
* The following will display 2 check boxes. If the gender is male the first check box (Male) will be ticked. If the gender is female the second check box will be ticked:
<pre>
<!--@sslogic('@parent.owner.clientgender@'='Male')-->
</pre>
'''Multiple Options:'''
You can use multiple sslogic statements if there are more than just 2 options:
<pre>
'''Multiple Conditions:'''
* You can include more than one condition:
<pre>
</pre>
'''Fields Storing Single Quotes:'''
* SSlogic can be used to display fields that may have a single quote stored within them.
* The escape[] function is used to achieve this: