[TW5] Create and set values of fields in multiple tiddlers at once?

180 views
Skip to first unread message

Matthew Petty

unread,
Jul 8, 2014, 6:05:05 PM7/8/14
to tiddl...@googlegroups.com
I would like to take a bunch of tiddlers, and create fields and set the value for those fields, all at the same time.
For example, I want to set a list of tiddlers so they have a field called "tasklist" with the value "work", and another list so they have a field called "tasklist" with the value "work".
Is it possible to use the checkbox widget to set fields?

Matabele

unread,
Jul 9, 2014, 12:31:39 AM7/9/14
to tiddl...@googlegroups.com
Hi Matthew

Try something like this (for more values, use additional radio widgets):

<$list filter="[filter[expression]]">

{{!!title}}<$radio field="taskist" value="work">Work</$radio><$radio field="tasklist" value="home">Home</$radio>
</$list>

You might want to put that in a table to align the columns (and remove the labels from the radio widgets.)

regards

Matabele

unread,
Jul 9, 2014, 12:44:00 AM7/9/14
to tiddl...@googlegroups.com
Hi Matthew

Sorry, forgot to mention -- you must use html like this:

<table>
<tr><th>Title</th><th>Work</th><th>Home</th></tr>
<$list filter="[filter[expression]]">
<tr>
<td>{{!!title}}</td><td><$radio field="tasklist" value="work"></$radio></td><td><$radio field="tasklist" value="home"></$radio></td>
</tr>
</$list>
</table>

I made a task management app along this lines -- you might find some of my techniques useful: http://wills.tiddlyspot.com/
(an empty version here: http://gtid.tiddlyspot.com/)

regards

On Wednesday, July 9, 2014 12:05:05 AM UTC+2, Matthew Petty wrote:

Alberto Molina

unread,
Jul 9, 2014, 1:48:23 AM7/9/14
to tiddl...@googlegroups.com
Good to know.
Thanks Matabele!

Matthew Petty

unread,
Jul 9, 2014, 3:41:14 PM7/9/14
to tiddl...@googlegroups.com
That works really well! That's really opened up some possibilities.
Thank you Matabele!


On Tue, Jul 8, 2014 at 10:48 PM, Alberto Molina <Alber...@gmail.com> wrote:
Good to know.
Thanks Matabele!

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/4yUDC5ugRCo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.



--
website: matthewpetty.com

READ CAREFULLY. By reading this email, you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.
Reply all
Reply to author
Forward
0 new messages