Skip to content

Instantly share code, notes, and snippets.

@danieliser
Last active May 27, 2021 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danieliser/6bd3e476c01ac7d2c3abce6cd0f4e7cb to your computer and use it in GitHub Desktop.
Save danieliser/6bd3e476c01ac7d2c3abce6cd0f4e7cb to your computer and use it in GitHub Desktop.
Add a mass click trigger to many links and insert that links url into the popup forms field, then on submission redirect to specific url.
<script>
setTimeout(function() {
window.location = "{{link_field_value}}"; // Output the value of the field used in your code above into the script to redirect.
}, 3000); // Change this to delay the redirect/download. Currently 3 seconds.
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment