Hi
A stupid question ... but how to pass a variable to a macro in wikitext
I can't find any example
<$button>
<$set name="myVariable" value={{!!date-format}}></$set>
<$action-setfield $tiddler="$:/plugins/vpl/jazzbokMem/DbActivity"; $index=<<now $(myVariable)$ >> $value="hello" />
Test
</$button>
My date-format field contains "YYYY-0MM-0DD:hh:0mm:0ss"
When I click on the button this action populate the data-tiddler with the following content
{
"$(myVariable)$": "hello"
}
Where I'm expecting
"2019-08-21:15:20:09": "hello"
Any idea would help me a lot
Thanks for your support
Vpl
",