I may not be understanding what you're doing, since you haven't presented the tiddler-level view of your data.
But it seems like you can do something like this by having fields like "infotype" be list fields (at the tiddler level). The checkbox widget has action clauses for clicking and unclicking. You can use the action-listops widget to add or remove items from list fields. On Monday, February 24, 2020 at 1:08:43 PM UTC-8, steve wrote: > > I would like to request an extension of the checkbox widget to support > adding/deleting multiple, not mutually exclusive, keyword per field as > opposed to turning a single keyword on or off. > > But first, some background (apologies for excessive length). > > I've developed a wiki that aims to make it simple to manipulate and view > keywords in fields. My use case is a "roadmap" wiki I built with TW5 that I > use to keep track of contacts, events, inventory and notes. > > For example, the tiddler [[xkcd]] represents a link to the webcomic XKCD > using keywords in six fields: infotype, rating, scope, source, subject and > title. > > FIGURE-1 (below) shows a tabular view of the [[xkcd]] tiddler with each > row below the header showing the field name followed by the keywords for > the field. Note that each field has a distinctive style for displaying the > keywords, e.g., the subject keywords have a mint green background with > black font. > > FIGURE-2 (below) shows a banner view of the [[xkcd]] tiddler where the > keywords are show in a row (without fieldnames) using the same keyword > styles as FIGURE-1. > > FIGURE-3 (below) show the editor view for the [[xkcd]] tiddler showing > each field in a separate row. The keyword fields use checkboxes to add or > remove keywords (e.g., the subject field) and the free text fields use an > edit box to add/edit/delete text. > > I consider this approach to offer several strengths: > > * fields can contain multiple keywords; > * can add or delete keywords by clicking/unclicking a checkbox; > * harder to misspell or add an invalid keyword; > * can use colors to distinguish families of related keywords, e.g., the > contact, event, inventory and note keyword families in the infotype field; > * can validate keywords or flag missing keywords on a per field basis > (harder to do with tags); > * can view the fields and content without having to edit the tiddler; > * the banner format offers a compact view of tiddler titles and field > content, e.g., FIGURE-4 (below). > > > I wrote a macro to support checkbox editing of keywords (i.e., add or > delete a keyword by clicking the checkbox) by using CheckboxWidget in "Tag > Mode" with a complicated manipulation of keywords, tags, and state > tiddlers. It uses a "state tiddler" in the background (with defined actions > and uncheckactions that use action-listops) where keywords are copied to > tags in order to use the checkbox capability. > > This leads to a proliferation of otherwise unnecessary state tiddlers > which could be avoided if the keywords could be manipulated directly, i.e., > add keyword to field if checkbox is checked or delete keyword from field if > unchecked. > > How? I am sure this is much easier said than done. Maybe add a "keyword > mode" something like: > > ```<$checkbox field="infotype" keyword="contact"> ``` > > Thanks > -- 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/57f1ea80-480f-480d-8c5e-cb2664c934fb%40googlegroups.com.

