Quote:
Originally Posted by Trek
So even if I'm checking my own custom variable I would use:
?? Seems weird, but whatever works!
|
my_custom_function() would be a function so if you made your own function my_custom_function() would be correct.
So for a custom variable it would be.
if $customvar is set:
Code:
<vb:if condition="$customvar">Show this</vb:if>
If $customvar equals:
Code:
<vb:if condition="$customvar == blah">Show this if $customvar equals blah</vb:if>
If $customvar does not equal:
Code:
<vb:if condition="$customvar != blah">Show this if $customvar does not equal blah</vb:if>
Check out -
https://vborg.vbsupport.ru/showthread.php?p=1941139