fix FileUpload

FileUpload doesn't work with input type="text".