FrD's method works -- but the code needs to be in the tiddler and you need
to hit the button. Auto-tagging like you describe might be interesting. But
I can see where it might get you into problems (like a field with massive
amounts of text).
-- Mark
<$button>Field To Tag
<$action-listops $field="tags" $subfilter="[{!!myfield}]"/>
</$button>
On Wednesday, August 1, 2018 at 6:39:51 AM UTC-7, Alexei R wrote:
>
> I'v just tryed it doesn't work for me :-(
> Isn't a simple way to just type somthing like {{!!myfield}}> into *tag
> name* input fild in tiddler editing mode?
>
> On Wednesday, August 1, 2018 at 4:15:38 PM UTC+3, FrD wrote:
>>
>> Hi,
>>
>> Create a tiddler. Add a field ("myfield" for the code below to work).
>> Assign a value to this field (even with white spaces).
>>
>> Add this code inside the tiddler :
>>
>> <$button>Field To Tag
>> <$set name="myfieldvalue" value={{!!myfield}}>
>> <$action-listops $field="tags" $subfilter="[<myfieldvalue>]"/>
>> </$set>
>> </$button>
>>
>>
>>
>> Regards
>>
>> FrD
>>
>> Le mercredi 1 août 2018 14:28:25 UTC+2, Alexei R a écrit :
>>>
>>> Hello
>>>
>>> Please help me to understend how can I assign value of a field as name
>>> of a tag.
>>> Let say we have one tiddler with *field *named "field1" and it has
>>> value "John" and the second has the same field "field1" with value "Ringo".
>>> How can I get the tiddler to be taged as "John" by refferensing to the
>>> string "John" by field name (in our case "field1") only?
>>> How can I get both tiddlers to automaticly been tagged with value of
>>> theyer own field "field1": tiddler on as "John" and tiddler two as "Ringo".
>>> Some how I need to make tiddler to display value of its particular field
>>> as tag...
>>>
>>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/6f9ec913-d855-4f56-915a-c9dd858c2257%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.