jkm

Have you looked at the select widget, it also has a multiple option.

Tones

On Thursday, 26 August 2021 at 21:26:28 UTC+10 [email protected] wrote:

> I am able to use the radio widget to control my list filter.  Now I would 
> like to use checkboxes in a multi-select manner (e.g., include any checked 
> keywords:  Info, fix, Procedure).  However, I haven't seen an example of 
> this yet.  My attempt
>
> ...
>     <td>''KBA Type:''&ensp;
>       <$checkbox tiddler="$:/temp/ktype" 
> value="Procedure">&nbsp;Procedure</$checkbox>&ensp;
>       <$checkbox tiddler="$:/temp/ktype" 
> value="Info">&nbsp;Info</$checkbox>&ensp;
>       <$checkbox tiddler="$:/temp/ktype" 
> value="Fix">&nbsp;Fix</$checkbox>&ensp;  
>     </td>
> ...
> <$list filter="[tag[KBA]ktype{$:/temp/ktype}]">
>
> I think I expected all selected items to be handled in the same temp 
> tiddler but maybe I'm overwriting it each time I check/uncheck.  Do I need 
> to create a temp tiddler for each and work out the list filter logic 
> manually in a sequence of separate runs?   
>
> Not sure it's relevant, but I will be wanting to use this to filter on 
> values in a field.  That field may contain a single string or list of 
> strings (examples: *Info *or *Fix Procedure* or *Fix Info*).  Ultimately 
> I would like to derive the list of checkboxes from a field within all 
> tiddlers with a specific tag.  Like a "tag" based search engine except they 
> are not TW tags, they are just tags derived from the tiddler field.  But, 
> baby steps (assuming it's possible/practical).
>

-- 
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/3a60a509-3ff8-4722-8625-0ef3090f92b1n%40googlegroups.com.

Reply via email to