getPropertyDefault: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
==Function getPropertyDefault== | ==Function getPropertyDefault== | ||
Returns the [[Campaign:property default value| default value]] of a [[Token:property| token property]]. If the [[Campaign:property default value| default value]] contains nothing then an empty string ("") is returned. | Returns the [[Campaign:property default value| default value]] of a [[Token:property| token property]] for the [[Token:Current Token|Current Token]]. If the [[Campaign:property default value| default value]] contains nothing then an empty string ("") is returned. | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: val = getPropertyDefault(name)] | [h: val = getPropertyDefault(name)] | ||
</source> | </source> |
Revision as of 13:10, 13 December 2008
Function getPropertyDefault
Returns the default value of a token property for the Current Token. If the default value contains nothing then an empty string ("") is returned.
[h: val = getPropertyDefault(name)]