\define PageToEdit() list field values

77 views
Skip to first unread message

Kees Smikkelbeer

unread,
Apr 9, 2021, 9:14:40 AM4/9/21
to TiddlyWiki
Hi,

List the values from the field; Tiddlerfield from the specific tiddler; TiddlerTitle. After selection, the relevant tiddler will be tagged with the listed value. This code will be in a different tiddler and not in the tiddler TiddlerTitle.

The next works, but what I want it is to read TiddlerTitle from \define PageToEdit() : (Or to change {{TiddlerTitle!!FieldName}} with <<PageToEdit>>


This is working but does not read from \define PageToEdit() 

<$list filter={{TiddlerTitle!!FieldName}} variable=tagname>
   <$checkbox tiddler=<<PageToEdit>> tag=<<tagname>> ></$checkbox> <<tagname>> 
</$list>


This is not working:


\define PageToEdit() {{TiddlerTitle!!FieldName}}

<$list filter=<<PageToEdit>> variable=tagname>
   <$checkbox tiddler=<<PageToEdit>> tag=<<tagname>> ></$checkbox> <<tagname>> 
</$list>


This displays the values from the field correctly, but I cannot get it working with the checkbox:

\define PageToEdit() [title[TiddlerTitle]]

<$list filter=<<PageToEdit>> >
<$view field="tag-select"/>
</$list>


What am I not doing right?
Reply all
Reply to author
Forward
0 new messages