Hi everyone,
I'm trying to create several tiddlers which contain two fields coming from two different filters.
Example : given the lists "A B C D" and "a b c d" I would like to obtain 4 tiddlers where each contains the nth value from both lists:
tiddler1 has var1=A var2=a
tiddler2 has var1=B var2=b
tiddler3 has var1=C var2=c
tiddler4 has var1=D var2=d
This is my attempt:
<$button>
create the tiddlers with parallel filters
<$list filter="[prefix[mytid]]">
<$action-deletetiddler $tiddler=<<currentTiddler>>/>
</$list>
<$list filter="A B C D" variable="v1">
<$action-createtiddler $basetitle="mytid" v1=<<v1>> />
</$list>
<$list filter="a b c d" variable="v2">
<$list filter="[prefix[mytid]!has[v2]]" variable="t">
<$action-setfield $tiddler=<<t>> v2=<<v2>>/>
</$list>
</$list>
</$button>
My great hopes for this solution to work turned out to be misplaced ;)
Is there a way to achieve this lind of "parallel matching"?
Thanks in advance!
Erwan