Difference between revisions of "Ssescape"

From SmartWiki
Jump to: navigation, search
(uotes)
 
Line 1: Line 1:
This syntax allow to escape double quotes on text fields to avoid breaking when they are referenced on [[Template_Formula|Template Formulas]], [[Visibility_Condition|Visibility Conditions]] and [[Browser_Script| Browser Scripts]].
+
This syntax allows to escape double quotes on text fields to avoid breaking when they are referenced on [[Template_Formula|Template Formulas]], [[Visibility_Condition|Visibility Conditions]] and [[Browser_Script| Browser Scripts]].
  
'''IMPORTANT:''' This syntax will only escape double quotes ("):
+
'''IMPORTANT:''' This syntax will only escape double quotes (")
  
 
  <ssEscape>.....</ssEscape>
 
  <ssEscape>.....</ssEscape>

Revision as of 15:45, 25 June 2013

This syntax allows to escape double quotes on text fields to avoid breaking when they are referenced on Template Formulas, Visibility Conditions and Browser Scripts.

IMPORTANT:  This syntax will only escape double quotes (")
<ssEscape>.....</ssEscape>

Examples

@level1.name@="<ssEscape>@level1.Proposal Title@</ssEscape>";
@level1.description@="<ssEscape>@level1.Project Description.value@</ssEscape>";
var name="<ssEscape>@name@</ssEscape>";
if(name=="")
  function goes here....
<!--@sslogic("<ssEscape>@name@</ssEscape>"!="")-->
   There's a project title with double quotes
<!--@end-->

See Also