Changes

Jump to: navigation, search

Web Page View Field Variables

627 bytes added, 16:57, 10 April 2008
How to display check boxes in the web page view
Example: <!--hideifnotfound-->@parent.contact.adjuster.email@
</pre>
 
==How to display different content based on a value using SmartLogic==
To display content based on a value from a variable add <!--@sslogic('@branch.name@'='Internal Staff')--> in front of the content and <!--@end--> at the end of the content. If there are 2 different pieces of content to be displayed based on a value and all others add <!--@else--> inbetween the 2 pieces of content.
 
'''Example:'''
<pre>
 
<!--@sslogic('@branch.name@'='Internal Staff')-->
 
This is internal staff
 
<!--@else-->
 
This is NOT internal staff
 
<!--@end-->
 
 
</pre>
Note: be sure there are single quotes around the variable and
 
 
==How to display check boxes in the web page view==
'''To display Select Many - Check Box type cutom fields as check boxes in a web page view add @checkbox('customfieldid','option name')@ to the check box control.'''
'''Example: ''' <pre><input type="checkbox" name="checkbox" value="checkbox" @checkbox('12345','yes')@></pre>
==How to suppress the Page Footer with Printing the Page==
Smartstaff, administrator
38
edits

Navigation menu