That is badass! Personally I’d default it to Yes/No instead of True/False since that seems a little more techy, but otherwise it’s fantastic! We’ll have to look at implementing something like that in the builder soon.
Thanks Justin, it still needs some work and has taken me ages to get something even remotely working, but will be adding some more to it. I am going to using the options to loop through and create the toggles (similar to the select field) and try to get the toggle option working as well.
Have to admit, I was surprised there are no checkbox or radio fields in core already.
The toggle logic is only setup to run on select inputs, but you may be able to get it working with some custom JS. Can you give something like this a shot (replacing your info where needed)…