Thanks very much Eric. That's just the example that I needed. It worked quite well.
There are certain search terms that still yield lots of tiddlers and I probably need to add more to the search box to limit that or just know that it will be a slightly longer search. I'm sure that part of the performance hit is that the search results are being output to a dynamic table (from Shiraz plugin) and I have several fields that are being populated for each tiddler. Damon On Saturday, June 6, 2020 at 8:35:32 PM UTC-7, Eric Shulman wrote: > > On Saturday, June 6, 2020 at 9:56:08 AM UTC-7, Damon Pritchett wrote: >> >> I like the idea of the submit button, but am unsure as to how to >> implement that. I know I need to couple a button with an action widget, but >> the documentation at Tiddlywiki.com is confusing to me. Could you point me >> to an example? >> > > Try this: > <$edit-text tag="input" tiddler="$:/temp/mysearch/input" default="" > placeholder="enter search text" /> > <$button> search > <$action-setfield $tiddler="$:/temp/mysearch" > text={{$:/temp/mysearch/input}} /> > </$button> > <$button> reset > <$action-setfield $tiddler="$:/temp/mysearch/input" text="" /> > <$action-setfield $tiddler="$:/temp/mysearch" text="" /> > </$button> > <$reveal state="$:/temp/mysearch" type="nomatch" text=""> > <$list filter="[prefix{$:/temp/mysearch}]"><li><$link/></li></$list> > </$reveal> > > notes: > * the $edit-text saves its input to $:/temp/mysearch/input > * the search $button copies that input to $:/temp/mysearch > * the reset $button clears both temp tiddlers > * the $reveal is used to prevent the search from finding ALL tiddlers when > the input is blank > * the $list does the search, using the value copied into $:/temp/mysearch > > let me know how it goes... > > enjoy, > -e > > > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ef82069f-1bad-444d-a8d8-39c213b5472fo%40googlegroups.com.