Dear all,
I'm discovering TiddlyWiki since a couple of weeks. It's a fantastic tool
but I'm still not able to manage all the 'magic'...
I would like to populate a select box by iterating on this dataTiddler (The
indexes are the quarters of a year and the value the corresponding dates
for the
Am 11.08.2015 um 16:39 schrieb Ghislain SILLAUME:
Any ideas?
Hi,
try:
|\define valueFromIndex() [[data]getindex[$(index_key)$]] \end $select
field=start_date $list filter=[[data]indexes[]sort[title]]
variable=index_key $list filter=valueFromIndex
variable=index_value option
Oh, and don't forget to change data back to the name of the tiddler
you want it to work on. Both in the macro and in the list filter.
Am 11.08.2015 um 16:57 schrieb Andreas Hahn:
Am 11.08.2015 um 16:39 schrieb Ghislain SILLAUME:
Any ideas?
Hi,
try:
|\define valueFromIndex()
It works perfectly.
Many thanks!
Ghislain
On Tuesday, 11 August 2015 16:59:15 UTC+2, Andreas Hahn wrote:
Oh, and don't forget to change data back to the name of the tiddler you
want it to work on. Both in the macro and in the list filter.
Am 11.08.2015 um 16:57 schrieb Andreas Hahn:
Am
On Tuesday, August 11, 2015 at 8:26:06 AM UTC-7, Ghislain SILLAUME wrote:
It works perfectly.
Am 11.08.2015 um 16:57 schrieb Andreas Hahn:
Here's a more compact implementation without any macros:
$select field=start_date
$list filter=[[quarters]indexes[]sort[title]] variable=key
$set
5 matches
Mail list logo