G'day,

Yeah, you're right: each checkbox is indeed overwriting the (entire) field 
with what is associated with the one selected checkbox.

i.e. the field doesn't aggregate the values of multiple selected check 
boxes.

I imagine you've noticed that having each check box associated with the 
same field, the checkboxes behave like radio buttons.

On Thursday, August 26, 2021 at 8:26:28 AM UTC-3 [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/c599a88c-6963-451d-af68-a95654e89148n%40googlegroups.com.

Reply via email to