refactor

checkbox and radio fields

Signed-off-by: Elliot Condon <e@elliotcondon.com>