0
edits
Changes
Ssescape
,uotes
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]].
'''IMPORTANT:''' This syntax will only escape double quotes ("):
<ssEscape>.....</ssEscape>
'''Examples'''
* When using template formula to escape double quotes from a [[Custom_Field_Type:_Text_–_Single_Line|single line text field]].
@level1.name@="<ssEscape>@level1.Proposal Title@</ssEscape>";
* When using template formula to escape double quotes from a [[Custom_Field_Type:_Text_–_Multiple_Lines| multiple lines text field]].
@level1.description@="<ssEscape>@level1.Project Description.'''value'''@</ssEscape>";
* When using [[Browser_Script|browser script]] to escape double quotes from a variable.
var name="<ssEscape>@name@</ssEscape>";
if(name=="")
function goes here....
* When using [[Sslogic]] or [[Visibility_Condition|visibility condition]] to escape double quotes from a single line text field.
<pre>
<!--@sslogic("<ssEscape>@name@</ssEscape>"!="")-->
There's a project title with double quotes
<!--@end-->
</pre>
==See Also==
* [[Template Formula]]
* [[Browser Script]]
[[Category:Custom Fields]][[Category:Variables]]
'''IMPORTANT:''' This syntax will only escape double quotes ("):
<ssEscape>.....</ssEscape>
'''Examples'''
* When using template formula to escape double quotes from a [[Custom_Field_Type:_Text_–_Single_Line|single line text field]].
@level1.name@="<ssEscape>@level1.Proposal Title@</ssEscape>";
* When using template formula to escape double quotes from a [[Custom_Field_Type:_Text_–_Multiple_Lines| multiple lines text field]].
@level1.description@="<ssEscape>@level1.Project Description.'''value'''@</ssEscape>";
* When using [[Browser_Script|browser script]] to escape double quotes from a variable.
var name="<ssEscape>@name@</ssEscape>";
if(name=="")
function goes here....
* When using [[Sslogic]] or [[Visibility_Condition|visibility condition]] to escape double quotes from a single line text field.
<pre>
<!--@sslogic("<ssEscape>@name@</ssEscape>"!="")-->
There's a project title with double quotes
<!--@end-->
</pre>
==See Also==
* [[Template Formula]]
* [[Browser Script]]
[[Category:Custom Fields]][[Category:Variables]]