Hello everyone,
In a tiddler, I need a button that create a new tiddler from a selected template and add some fields values as tags. (see my button’s code at the end of the post)
My problem is that three of these “tags” can be made of multiple words.
my current code pass each word of a field as a tag. For example, if the user set the field “scale” to “European Union”, it add the tags “European” and “Union” instead of the tag “European Union”.
Is there anything I could change to have each field as one single tag, no matter the number of words in the field ?
\define cardTags() [[$(tag1)$]] $(tag2)$ $(tag3)$ $(tag4)$
<$button>
<$vars tag1={{!!Scale}} tag2={{!!Subject}} tag3={{!!Counter}} tag4={{!!Template}}>
<$action-createtiddler $basetitle={{!!Name}} $template={{!!Template}} tags=<<cardTags>>>
<$action-navigate $to=<<createTiddler-title>>/>
</$action-createtiddler>
Create a new {{filtre template base!!Template}} named {{filtre template base!!Name}}
</$vars>
</$button>