Hi All,
Here is a mktoBoolean variable declaration:
<meta class="mktoBoolean" id="TrackCTA" mktoname="Track CTA" default="true" false_value="mktNoTrack" true_value="" false_value_name="NO" true_value_name="YES" mktomodulescope="true"/>
with this one, class="${TrackCTA}" will render class="true", which can be troublesome are errorprone (imagine you have a .true class somewhere in your CSS...)
The doc reads
true_value: Value to be inserted when toggle is in ON position. True if omitted.
And not
True if left empty.
This is not good because il will insert a "true" word in places where an empty one would be preferable.
So I think is would be better if true_value="" would render nothing rather than "true", while the default would still be true is the parameter is omitted.
-Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.