Fix error on checkbox and radio field$