@derekcavaliero , thank you, you’re the man! I disabled redirect in my HS form but it isn’t redirecting. Here’s the code I’m using:
<!--[if lte IE 8]>
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
<![endif]-->
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
<script>
hbspt.forms.create({
region: "na1",
portalId: "156754",
formId: "f2a90b0f-843a-4d96-9bfe-1311362f8edb",
cssClass: "",
inlineMessage: "You are being redirected to the Application...",
onFormSubmit: function($form){
var emailWeb = $form.find('input[name="email"]').val();
setTimeout( function() {
window.location.href = "https://www.sellanyannuity.com/lp/thanks?email=" + encodeURIComponent( emailWeb );
}, 500 ); // Redirects to url with query string data from form fields after 1/2 second.
}
});
</script>
I tried a few variations but couldn’t get it to work. Here’s a live test page so you can see yourself (feel free to test): Sell Any Annuity - Get Cash Now For Your Structured Settlement
Maybe the theme I’m using has code that is conflicting?
Thanks again,
Jim