Thanks to Mark, Eric and Tony. Once I incorporated all three of their 
suggestions, it worked just great!

Can't say this often enough: Tiddlywiki and this support group are awesome!

Damon


On Saturday, December 14, 2019 at 5:44:05 PM UTC-7, TonyM wrote:
>
> tobaisch
>
> Can you use another list field to wrap the search results and only display 
> them if $:/temp/mysearch is non blank
>
> <$list filter="[[$:/temp/mysearch]has[text]]" emptyMessage="No search 
> string" variable=nul>
>   Search and display results here
> </$list>
>
> Using the has[fieldname] is only true if text is non-blank rather than 
> has:field[text] which is if it even exists and empty
>
> Regards
> Tony
>
> On Sunday, December 15, 2019 at 10:53:02 AM UTC+11, Eric Shulman wrote:
>>
>> On Saturday, December 14, 2019 at 3:33:18 PM UTC-8, Mark S. wrote:
>>>
>>>
>>> <$list filter="minlength{$:/config/Search/minlength}]" 
>>> emptyMessage="Search is too short" >
>>>
>>
>> I think there's some missing filter syntax... the minlength[] filter 
>> needs some input... such as the actual text entered for the search.
>>
>> something like this:
>>
>> <$list filter="[{$:/temp/mysearch}minlength{$:/config/Search/minlength}]" 
>> emptyMessage="Search is too short" >
>>
>> -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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/459cb474-9f58-4ddc-a1fa-a05260b34844%40googlegroups.com.

Reply via email to