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.
![](https://groups.google.com/group/tiddlywiki/attach/69c1d25a46eef/Auto%20Generated%20Inline%20Image%201?part=0.1&view=1)
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.
![](https://groups.google.com/group/tiddlywiki/attach/69c1d25a46eef/Auto%20Generated%20Inline%20Image%202?part=0.2&view=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.
![](https://groups.google.com/group/tiddlywiki/attach/69c1d25a46eef/Auto%20Generated%20Inline%20Image%203?part=0.3&view=1)
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