added support for textarea and select
add support for checkboxes