checkbox for string and boolean