ServerSide Validation and fix for uncheck checkboxes

added server side validation for save, you need to add a attribute in the form tag serverside_validation="true" to validate the data