Fixed block label issue and added feature to checkbox and radio to add checked attribute if checked argument === field value
Updated example: now working with most form fields