do not upload if submit element is disabled.