Hi Matabele

Thanks a lot :-)

I had to set it up with three states one with text="" another with 
text="female" and a third with text="male".
You are absolutely right in assuming that type="radio works,
It's a great hack :-)

Cheers Måns

Den lørdag den 11. juni 2016 kl. 07.04.28 UTC+2 skrev Matabele:
>
> 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 [email protected].
To post to this group, send email to [email protected].
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/b1b7b0c2-aeac-481b-9f51-ceded58ef494%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to