mrbaseball,
is it that you want to trigger the submit button 2 actions, one html output and a download dialog?
If so, the difficulty is coming from the http protocol itself, where only one request can be made at a time, which can receive only one response header and one response body.
Ahundiak's suggestion would not be able to solve this, since the page that redirects must not have any output, and then sending the file would open the download dialog(*) but the browser would keep displaying the originally form (since there is nothing else to display).
There may be a few workarounds such as a meta-tag redirection or a hidden frame which would allow to display a page and send the file. However, both may not be without drawbacks(*).
- Some browsers seem to prefer to display e.g. excel files rather than offering the download when they find they are able to display it, which poses the problem that you can display either html or the file content only. You could try to convince the browser by setting the Content-disposition header, or consider compressing them, I think no browser would try to display cmpressed files.
Hope I wasn't totally wrong about what you are trying to do.