Last modified: 2011-11-15 05:00:00 UTC
The "show on select" option for {{{field}}} doesn't work when the "input type" is set to radiobutton. This bug is present in Semantic Forms 1.9.1. Example: http://scratchpad.referata.com/wiki/Special:FormEdit?form=Radiobuttons&target=test
I believe this is now fixed in version 2.0 - setting to "fixed".
I have discovered this bug again. I was able to get it to work by duplicating the radio button field twice: {{{field | uploadoredit | class=uploadoredit | input type=radiobutton | values=upload, edit | default=edit | show on select=upload=>uploadfield;}}} <!-- Must duplicate this line to make buggy show on select hiding work. Workaround discovered by accident when accidentally pasting form code twice in form edit page. I don't know why it works. --><nowiki /> {{{field | uploadoredit | class=uploadoredit | input type=radiobutton | values=upload, edit | default=edit | show on select=upload=>uploadfield;}}} <!-- Must duplicate this line to make buggy show on select hiding work. Workaround discovered by accident when accidentally pasting form code twice in form edit page. I don't know why it works. --><nowiki />
Where's an example of this not working?
I haven't been able to reproduce this again. I'll reopen it if I can get it to trigger again. Until then, apologies, I should have set up a demo for it before I posted it. Right now I'm thinking maybe the JS for it didn't load properly and was simply cached until I refreshed it.