[5.0] File upload is broken when submitting a form without selecting a file.

Correct some tips by @GrahamCampbell