This is another solution also by Mark in TW-Scripts

https://kookma.github.io/TW-Scripts/#Checkboxes%20Like%20Radio%20Button

--Mohammad

On Friday, February 28, 2020 at 5:46:11 AM UTC+3:30, Mark S. wrote:
>
> This works according to your description:
>
>
> https://marxsal.github.io/various/playground.html#Use%20checkboxes%20like%20radio%20buttons%20for%20tagging
>
> On Thursday, February 27, 2020 at 2:46:30 PM UTC-8, David Gifford wrote:
>>
>> Thanks Mark and Thomas,
>>
>> This is all still well beyond me, and not enough for tiddlywiki.com 
>> documentation to be complete, but thank you for your replies. 
>>
>> On Thursday, February 27, 2020 at 4:24:08 PM UTC-6, Thomas Elmiger wrote:
>>>
>>> @Mark Well, the tag field is a field ... radios can handle a field. 
>>> Did you see my last post? 
>>>
>>>
>>>
>>> 'Mark S.' via TiddlyWiki <[email protected]> schrieb am Do., 
>>> 27. Feb. 2020, 23:14:
>>>
>>>> @Thomas -- the radio button doesn't bind to tag fields, and doesn't 
>>>> have a documented action attribute (though I think all widgets inherit an 
>>>> action attribute).
>>>>
>>>> @Dave
>>>>
>>>> I think the technique I developed for this thread
>>>>
>>>> https://groups.google.com/d/msg/tiddlywiki/O5Mg0naxHl4/RW19q37HAQAJ
>>>>
>>>> could be adapted for your use. Basically, it binds the checkbox to a 
>>>> dummy field so the presentation is 
>>>> controlled by the code and not by the relation. Then it uses 
>>>> checkaction and uncheckaction
>>>> to actually change tag state. 
>>>>
>>>> The question that immediately comes to mind is, won't there be times 
>>>> when you went
>>>> to see two reference presentations at once?
>>>>
>>>>
>>>>
>>>> On Thursday, February 27, 2020 at 1:07:11 PM UTC-8, David Gifford wrote:
>>>>>
>>>>> Thanks Thomas, but how would I use that for the kind of use cases am 
>>>>> suggesting? There are no examples at that level, only brown tree frogs.
>>>>>
>>>>> On Thursday, February 27, 2020 at 2:51:32 PM UTC-6, Thomas Elmiger 
>>>>> wrote:
>>>>>>
>>>>>> Hi David,
>>>>>>
>>>>>> If I got your idea right, you might want to use radio buttons instead 
>>>>>> of checkboxes: 
>>>>>> https://tiddlywiki.com/#RadioWidget
>>>>>>
>>>>>> All the best, 
>>>>>> Thomas
>>>>>>
>>>>> -- 
>>>> 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/SwSKmKxux9k/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/tiddlywiki/22e7861c-c339-4a06-9a34-0ffba5783d87%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/tiddlywiki/22e7861c-c339-4a06-9a34-0ffba5783d87%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
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 email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0a73a67f-08a6-4113-b4ec-201220559965%40googlegroups.com.

Reply via email to