Added optional fields class for fields that have a checkbox