Hi Mans

Here's code fro a fake checkbox:
-- set (can have multiple action widgets)
<$reveal type="match" state="!!temp" text="set">
<$button set="!!temp" setTo="reset" class='tc-btn-invisible'>
<$action-listops $tiddler="test" $field="myfield" $filter="[my[filter]"/>
...
<input type=checkbox/>Set</$button>Set</$reveal>

 
-- reset
<$reveal type="match" state="!!temp" text="reset">
<$button set="!!temp" setTo="set" class='tc-btn-invisible'>
<$action-listops $tiddler="test" $field="myfield" $filter="[[]]"/>
...
<input type=checkbox checked/>Reset</$button>Reset</$reveal>

This may be modified to make a fake radio button -- 'input type = radio', 
as far as I recall

regards

On Friday, 10 June 2016 16:19:01 UTC+2, Måns wrote:
>
> Hi Mat
>
> Thank you. 
> Please enlighten me :-)
> Has anyone done this yet?
> I've searched for "make a button look like a radio button" and "make a 
> button behave like a radio button ".
> No luck - or the information is hidden in some profound discussion about 
> how to do something completely different?
>
> Cheers Måns Mårtensson
>
> Den fredag den 10. juni 2016 kl. 15.46.59 UTC+2 skrev Mat:
>>
>> Måns, great to see you on the boards again.
>>
>> In case it hasn't been mentioned; you can make a regular button *look *like 
>> a radio button (even just use images) and within that regular button you 
>> can have two setfield widgets. It would take you less than 10 minutes to 
>> make.
>>
>> <:-)
>>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/41e67c5f-3640-4cdb-9094-4490f36f7125%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to