I am having a look at the conditional shortcut syntax (https://tiddlywiki.com/static/Conditional%20Shortcut%20Syntax.html) and am wondering if the following statement is allowed/valid?
I am trying to set the state-name to ‘Northern Territory’ if the state-code is ‘NT’.
<$let
<%if [{<selectedstatecode>}match[NT]] %>
selectedstatename="Northern Territory"
<%endif%>
locationTag={{$:/TLS/location}}
typeTag={{$:/TLS/type}}
cityTag={{$:/TLS/city}}
>
..
..
..
</$let>
OR should it be the following
<%if [{<selectedstatecode>}match[NT]] %>
<$let
selectedstatename="Northern Territory"
>
<%endif%>
<$let
locationTag={{$:/TLS/location}}
typeTag={{$:/TLS/type}}
cityTag={{$:/TLS/city}}
>
..
..
..
</$let>
</$let>
bobj