fixed a form to upload bug when radio or checkbox hasn't to be checked.