Download PDF after CF7 form submission

I'm working on a client's build, and I'd like to change as little as possible. I'm not too familiar with all this, my apologies - I'll try to show where I'm at. The client wants a form submission to prompt a PDF download. There are two different PDFs, two instances of the same form. Fill out form instance 1, get PDF A - Form instance 2, PDF B. Here's how those instances show up:

       " href="javascript:;" >
And in the popup window:
  
here, no? Their current solution is to grab a javascript code from an ACF field. I have had a lot of trouble figuring out how to put the CF7 form in that field. -->

Right. So there's that. Then, using CF7's new DOM events, I should be able to setup a redirect or simliar? in functions.php:

add_action( 'wp_footer', 'mycustom_wp_footer' ); function mycustom_wp_footer() < ?>  

I'm not sure if I'm on the right track or not - also, can't figure out exactly how I can get the right URL into my wpcf7mailsent event listener.