Hello! Trying to capture email via forms before sending user to a redirect URL upon forum completion.
The list of links on the page is a dynamic list and depending upon which link they click I want to send them to that URL upon form completion. Is that doable?
I tried setting the form attribute “data-redirect” to URL of the clicked link, but it isn’t working. It just goes to the original redirect URL I have set in webflow. (https://s3.amazonaws.com/arcmailsite/ArcMail_LoeRes.pdf)
$('a.display-inline').click(function(event){
event.preventDefault();
var value = $(this).attr("href");
$( ".content" ).attr( "data-redirect", value);
$('.popup-div').fadeIn();
}
);
Preview link. It’s the “Premium Content” page (http://arcmail.webflow.io/premium-content) - https://preview.webflow.com/preview/arcmail?preview=2f6f2f2d839f1cf617adf9f02a35d168
Any ideas? Thanks so much!