Checkbox + Required functionality fix

Got the "Checked" status as "0" or "1" then insert it as the "value" option
Merge pull request #208 from Dmitriy-ateo/patch-1

Checkbox + Required functionality fix