implemented support for checkbox, radios and selects