[tw5] Re: Input and output

2019-06-14 Thread Jed Carty
While it isn't set to take input you type directly (there is a search 
function that is similar) I made a bookmarks plugin that has a similar 
mechanism and may be useful to you to take apart.
https://ooktech.com/TiddlyWiki/Bookmarks/

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/43090fa9-b567-441a-8a32-4d18ce8127ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Input and output

2019-06-13 Thread 'Mark S.' via TiddlyWiki
In that case, you problem want to use the "search operator" 
(https://tiddlywiki.com/#search%20Operator)

There are several ways to interpret what you want. This version assumes 
that you have just one input field, but 
still have two description fields, and that you want results to return if 
either description field has a match:

<>

good luck

On Thursday, June 13, 2019 at 1:21:15 PM UTC-7, Chems wrote:
>
> Hey,
>
> Thank you so much! That was reaaaly helpful!!
> Do you know if its easily possible to show the fitting descriptions if I 
> let one box empty?
>
> example: 
> If i wanna search for vegetarian and soup ill get 1 result
> if i wanna search for vegetarian and pie ill get 1 result.
>
> If i only search for vegetarian, and let the second field empty, ill get 2 
> results.
>
> You know what I mean?
>
> Again, Thank you very much!
>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c042c13e-a5ea-45b2-bff5-d5037e3cc789%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Input and output

2019-06-13 Thread Chems
Hey,

Thank you so much! That was reaaaly helpful!!
Do you know if its easily possible to show the fitting descriptions if I 
let one box empty?

example: 
If i wanna search for vegetarian and soup ill get 1 result
if i wanna search for vegetarian and pie ill get 1 result.

If i only search for vegetarian, and let the second field empty, ill get 2 
results.

You know what I mean?

Again, Thank you very much!

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d614bc45-0501-4783-970b-42bc44024a6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Input and output

2019-06-13 Thread 'Mark S.' via TiddlyWiki
This will get you started

''Meal type:'' <$edit-text tiddler="input1" tag="input"/> 
''Course:'' <$edit-text tiddler="input2" tag="input" /> 

<>

Generally, you don't want to use regular HTML tags for input fields. You 
want to use TW's own wikitext tags so you can leverage its power.

I assumed that you would need two edit boxes, since you have two 
categories. The first box stores the result in tiddler "input1". The second 
box stores the result in tiddler "input2". You can find  them in the 
"recent" column.

You can learn more about the EditTextWidget at 
https://tiddlywiki.com/#EditTextWidget .

Since people may not type in the right thing into the edit boxes, you may 
also want to look at the SelectWidget:

https://tiddlywiki.com/#SelectWidget

Instead of input edit boxes, this will let you present a drop-down list of 
options. Much less likely to create mistakes.

Good luck!

In the example


On Thursday, June 13, 2019 at 9:20:19 AM UTC-7, Chems wrote:
>
> Hey folks,
>
> I want to create a list of tiddlers with two specific descriptions 
> (descrption1, discription2).
> So something like this:
>
> <>
>
> This is showing me the correct tiddlers.
>
> Now, I want to create two textfields, in which the user can type in the 
> descriptions, e.g. vegetarian and soup, or vegan and corn, and get a list 
> of the correct tiddlers.
> Buy writing the following:
>
> 
>
> I can create the textfield. But I am now not sure, how to combine the 
> textfield, with the searching list feature. Anybody got an idea?
>
> Thanks in advanced!
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7cb800e9-44f9-4db8-989c-7623b89a6fcb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.