Only suggestion I could give would be to use the hidden field value max_file_size
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">
Putting that in there with the proper enctype(enctype="multipart/form-data") in your form tag hints to the browser that files should not be above this size. The value is calculated in bytes.
Beyond that, you'd need to look into javascript.