Using code instead of a shortcode for several download-after-submissions
-
Hello,
Can I redirect a user to the PDF after they successfully submit a form?
Also, I have 3 buttons on one page, each for different PDF downloads. If I create 3 different, dedicated forms is there a way to trigger each form programmatically per button? (instead of a shortcode)
I am currently using a JavaScript onclick event:
<button type="button" class="blue-btn lead" onclick="window.location='<?php echo bloginfo('url'); ?>/download/';">Download</button>
Thanks for your time.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Using code instead of a shortcode for several download-after-submissions’ is closed to new replies.