Steve

I posted a more general solution to editing fields from the view tiddler 
mode here 
https://groups.google.com/forum/?hl=en#!topic/tiddlywiki/kLqyVrjcJ50 which 
should help you edit items in the current tiddler, without any temp 
tiddlers.

See also my reply in 
https://groups.google.com/forum/?hl=en#!topic/tiddlywiki/GhsrGyK7eIk that 
covers concatination and why you have to do it.

Regards
Tony


On Tuesday, July 23, 2019 at 7:42:01 AM UTC+10, Steven Schneider wrote:
>
> 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/72a0f20b-8dc6-409d-b2de-a05c699f5434%40googlegroups.com.

Reply via email to