Drupal hide upload button on form

In Drupal 7, when you have a file field, there is an upload button next to the input field. After selecting a file, if the upload button isn't pressed, the file gets uploaded upon submission of the form. Some say the upload button isn't necessary. So, here's some code that will hide the button for a specific field. Thanks to Chris Darke for the snippet.