Combining transformRadio and transformCheckbox into 1 function (1.4.0 release)