This produces a four column list of values appearing in ‘related’ field of all tiddlers. I, then, populate the ‘related’ field of the current tiddler by entering values manually.
But I would like to be able to click checkboxes next to these values and see them appear in the related field. So, I tried the following:
Once you’ve unchecked everything, what will be the source of your choices? You need to have a master source of choices outside of your “related” field.
Checkbox wants to bind a checked/unchecked status to ONE term in a field. So you can’t put multiple terms into the same field. You could use fields in a status tiddler that shadows your main tiddler, allowing you to bind the checkbox.
Checkbox has 3 different action attributes. These can be used to perform additional actions. So you could use <$action-listops> to add items to the related field as you check items.
Hello Deshmukh
Mohammad’s TW Scripts has an example tiddler
“Create Links on Click Sets Some Fields”
This is a simple example create a lists from tiddlers tagged with contact. Each item is clickable and on click these actions are performed:
The value of myfield is set to the title of clicked item