Checkbox - How to enlarge clickable area?

625 views
Skip to first unread message

Måns

unread,
Aug 29, 2011, 10:19:26 AM8/29/11
to TiddlyWiki
Hi TwWizards

I want to create a TW for Android for *very* quick reduction of a
list..

Every morning my students run - and when they pass a checkpoint I need
to be able to click a name on an alphabetical list - and the name will
dissapear - it has to be exectuted *instantly*...

Every student exists as a tiddler.

With ForeachTiddlerPlugin and CheckBoxPlugin I did this:

<<forEachTiddler where
'tiddler.tags.contains(context.viewerTiddler.title)&&
tiddler.fields["check"] && tiddler.fields["check"] == "false"'
sortBy 'tiddler.title'
write
'""+tiddler.title+" [_(check@"+tiddler.title+")]\n"'>>

What I'd really like is one large button - one for each student.
It should be labelled with student name, and when I click it - it
dissapears from the list. (The last portion of my request works
already with the provided fET)

In AndTidWiki (Androidapp) the checkboxbutton is MUCH to small - and
I'd like to connect the Studentname with the checkbox and preferably
turn it into a button - if possible??

A second problem is speed - it seems very slow, maybe it's because the
change of fieldvalue is updated in the background (in a student
tiddler) - and I can't check another student untill it's finished.
Can I turn the autosave off somehow - and do an update when I'm
finished instead??

Third problem: When the evaluation is finished I'd like to be able to
reset all students "check fieldvalue" back to false in one go... I
don't know how to do that with a fET - ....

Any help is most welcome..

Cheers Måns Mårtensson

Mike

unread,
Aug 29, 2011, 4:59:22 PM8/29/11
to TiddlyWiki
Saw your post this morning, been waiting to see if someone else took a
shot at it. . .

Have you looked at:
http://tiddlytools.com/#DailyChecklist
http://tiddlytools.com/#ToDoList
http://tiddlytools.com/#CheckboxPluginInfo

I found fields update slower than tags, may have better luck using
tags
The first example is mainly JS and HTML - so you would be able to make
your big button (HTML) and reset the list with a little tweaking.

Hope that gets you pointed in the right direction.

Mike

Måns

unread,
Aug 29, 2011, 5:25:54 PM8/29/11
to TiddlyWiki
Hi Mike

> I found fields update slower than tags, may have better luck using tags

I believe you are right!!

> Hope that gets you pointed in the right direction.

It did..

I finally decided to use Tobias' CycleTags transclusion (http://
coloredlinks.tiddlyspot.com/#CycleTags) and styled it with Jon's
".tools" css from his caspian theme (http://caspian.tiddlyspace.com) -
it gave me a "toggletagbutton" for right thumb.
I made my own version of Tobias' vertical tabs and a fET which
produces an alphabetic tabbed list for left thumb.
Student names are nestedSlider buttons for popups showing an image and
more information - if needed...

I have a script which will remove the tag from all tiddlers tagged
with it - its good for resetting the list, - what I *really* need is
an "undo last edit" script - because it's very likely that I might hit
the wrong button (not because its too small but because we have many
students with very similar names ...)

Do you know of any "undo last edit" plugin for TiddlyWiki?

Cheers Måns Mårtensson

Mike

unread,
Aug 29, 2011, 5:41:37 PM8/29/11
to TiddlyWiki
http://tiddlytools.com/#UndoPlugin

Marked as experimental - so I would test it out in a backup version

Good Luck !

Mike

Måns

unread,
Aug 29, 2011, 6:11:42 PM8/29/11
to TiddlyWiki
Hi Mike

> http://tiddlytools.com/#UndoPlugin
>
> Marked as experimental - so I would test it out in a backup version
>
> Good Luck !

Thanks a lot for your help!!
I will need it to work very early tomorrow, where I must be able to
keep record of 113 students in a period limited to 10 minutes - so I
*will* need some luck :-)

Cheers Måns Mårtensson

Måns

unread,
Aug 31, 2011, 1:12:20 PM8/31/11
to TiddlyWiki
Hi Mike

It DID work - and very well indeed (80 students in less than 4
minutes)!!
Tobias' CycleTags + vertical tabs + Jons css for buttons (and fETs) is
a great combination!


Cheers Måns Mårtensson
Reply all
Reply to author
Forward
0 new messages