[tw] Re: TW5 show list of values in a field

2016-11-28 Thread Jon
Hi, In terms of putting each field value on a new line, I found this CSS trick which seems to work! Thanks for help on this. Jon .newline { word-spacing: 999px; } <$select tiddler="$:/temp/familykeyword"> <$list filter="[tag[family]]"> <> @@.newline {{

[tw] Re: TW5 show list of values in a field

2016-11-27 Thread Jon
Riz, that is almost perfect!! I just need the keywords to show in a list rather than on a single line. How do I incorporate a line break or something similar? Many thanks Jon On Sunday, 27 November 2016 17:40:26 UTC, Riz wrote: > > > >> Sorry Mark, but that's not what I want. >> >> I need the

[tw] Re: TW5 show list of values in a field

2016-11-27 Thread Riz
> > Sorry Mark, but that's not what I want. > > I need the values of the keyword field outside the widget, in the body of > the tiddler (which contains the select widget) > > > <$select tiddler="$:/temp/familykeyword"> <$list filter="[tag[family]]"> <> Now wherever you want the

[tw] Re: TW5 show list of values in a field

2016-11-26 Thread Jon
> > It would produce a select widget populated with the values contained in > the keyword field Sorry Mark, but that's not what I want! I need the values of the keyword field outside the widget, in the body of the tiddler (which contains the select widget) Thanks Jon On Saturday, 26

[tw] Re: TW5 show list of values in a field

2016-11-26 Thread 'Mark S.' via TiddlyWiki
That sounds exactly like what Riz gave you. It would produce a select widget populated with the values contained in the keyword field. What do you want beyond that? Good luck, Mark On Saturday, November 26, 2016 at 2:53:14 PM UTC-8, Jon wrote: > > Hi Mark, > > The select would show the list of

[tw] Re: TW5 show list of values in a field

2016-11-26 Thread Jon
Hi Mark, The select would show the list of tiddlers tagged with "family" and the field values (for the field "keyword") would be in the same tiddler as the select widget, so there would be a drop down box and the field values are underneath it - sorry if it wasn't clear before. Thanks Jon On

[tw] Re: TW5 show list of values in a field

2016-11-26 Thread 'Mark S.' via TiddlyWiki
Can you lay out a few tiddlers with the data the way you want? What do you expect to see in the select? Just a list of values? When you say, "field values would be shown in the body of the tiddler" do you mean in the tiddler with the select widget, or in each tiddler that has been tagged with

[tw] Re: TW5 show list of values in a field

2016-11-26 Thread Jon
Hi Mark, Sorry, I couldn't get that to work - no doubt its something my end! My use case is as follows: I have a list of tiddlers tagged with "family" and I also want to associate various keywords with each of them but I'd rather not add them as tags because there would be too many and they

[tw] Re: TW5 show list of values in a field

2016-11-25 Thread 'Mark S.' via TiddlyWiki
I think what you what is a select tag with option groups inside. I created 3 tiddlers with tags GroupA and GroupB variously assigned. Each tiddler had a field called eponymously "field". Each tiddler also had a field called "findme" so I could limit my list to to just the tiddlers of interest.

[tw] Re: TW5 show list of values in a field

2016-11-25 Thread Jon
Hi Riz, That produces the dropdown containing a list of tiddlers tagged with "family" but the field values of "keyword" are also contained within the box rather than being placed in a list outside it. Thanks Jon On Friday, 25 November 2016 17:03:29 UTC, Riz wrote: > > > Try this > > <$select

[tw] Re: TW5 show list of values in a field

2016-11-25 Thread Riz
Try this <$select tiddler="$:/temp/tag1"> <$list filter="[tag[family]]"> <> @@color:red;{{!!keyword}}@@ -- 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

[tw] Re: TW5 show list of values in a field

2016-11-24 Thread Jon
Hi Mark, Many thanks for that and it seems to be half way there. The tag is "family" and the field is "keyword". I wasn't quite sure whether every appearance of field needed to be substituted with the actual field name and found that: <$select tiddler="$:/temp/tag1"> <$list

[tw] Re: TW5 show list of values in a field

2016-11-24 Thread 'Mark S.' via TiddlyWiki
Try: <$select tiddler="$:/temp/tag1"> <$list filter="[tag[A]each[field]get[field]]" variable="field"> >><> Where "A" is the tag and "field" is the field. HTH Mark On Thursday, November 24, 2016 at 9:14:28 AM UTC-8, Jon wrote: > > Hi, > > I'd like to have a drop down which selects