I have a bunch of tiddlers, and each of my tiddlers has a bunch of tags.
For each of the tags in a tiddler, I'd like to use edit-text to create an
opportunity to enter a value in a field named similarly to the tag
(replacing [spaces] with [-] hyphens (thats line 2 below, replacing spaces
with a "-" using the split and join plugins at
https://tobibeer.github.io/tw5-plugins
<https://tobibeer.github.io/tw5-plugins/#Welcome>)).
I'm having trouble, however, writing back to the original tiddler in the
proper field; my <$action-setfield> is not writing to the proper field.
Suggestion?
Thanks,
//steve.
<$list filter="[is[current]tags[]">
<$vars thisField={{{[<currentTiddler>split[ ]join[-]]}}}>
<<thisField>>:<br>
<$edit-text tiddler=<<thisField>> field="text"/>
<$button>
Update
<$action-setfield $tiddler=<<thisProject>> <<thisField>>={{thisField}}/>
</$button>
<br>
I consistently get a field called <<thisField: with a value of true
Clearly, I don't know how to reference either my fieldName or the value of
the field (currently in a temp tiddler) --
Suggestions?
Thanks in advance,
//steve.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/0bb3a084-6558-4a4b-91cc-ec95f9abad62%40googlegroups.com.