Checkboxes are so similar to radiobuttons that I thought it would be easy 
to enhance the checkbox widget to also support radiobuttons like this:

* <$checkbox tag="check 1" radio="number"> one</$checkbox>
* <$checkbox tag="check 2" radio="number"> two</$checkbox>
* <$checkbox tag="check 3" radio="number"> three</$checkbox>

where "number" is simply a made-up name used to identify the group of radio 
buttons.

Unfortunately I had to learn that a change event with radio buttons only 
get fired for the selected button and never for the unselected one.

So it was not that easy because I had to add a loop to fire change events 
for all related, unchecked radiobuttons.

http://skeeve.tiddlyspot.com/#Testing%20Radiobuttons

I learned in another thread from Jeremy that using <Tiddlername>!!<another 
name> is not considered unique enough, so I will have to make some changes 
here when I understood how to create a unique-enough name.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to