add toggleswitch to form