Changes

Jump to: navigation, search

SSlogic

5 bytes removed, 14:48, 22 August 2013
no edit summary
</pre>
'''==Else Logic:'''==
* Often, you will want to display one of two texts--one text in the case that a condition is met and another in the case that the condition is not met. This is achieved through the use of an "else" operator.
* The following sample code will display one message if a user is male and another if the user is female:
</pre>
'''==Multiple Options ("else if" syntax):'''==
You can use multiple "else if" operators if there are more than just 2 options:
<!--@end--></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:
<!--@end-->
</pre>
::'''''Note:''' [[ssattach ]] can be used without sslogic if you want the same pdf file attached to the Web Page View in all cases.''
==NoteNotes==
* sslogic can be used in workflow e-mails at Level 1 only.
* In general double quotes (") should be used to enclose variables rather than single quotes ('). If the content includes an apostrophe (equivalent to a single quote) it will disrupt the processing. Double quotes are less common as content. You may want to add an [[Removing Special Characters|onchange]] to the source field to prevent entry of double quotes.
8,849
edits

Navigation menu