Skip to main content

I created a landing page in the classic builder. Here is the link: https://tax.jmsellslaw.com/facebook-retargeting/

On form submission, I want to re-direct to different URLs depending on what they check in the checkbox (i.e. if they click “More than $100,000.” then I want to go to a different scheduling URL.

 

This is not working - it seems to be going to the same url in the form setting no matter what I choose.

Here is the script I am using (the URLs are just test urls right now)….the placement is “Before Body End Tag”

<script>
$("#how_much_dowill_you_owe_the_irs").on('change', function() {
  switch ($(this).val()) {
    case 'More than $100,000.':
        window.module.lp.form.data.url= "http://www.google.com";
        break;
    case 'Between $15,000 and $100,000.':
        window.module.lp.form.data.url= "http://www.google.com";
        break;
    default:
        window.module.lp.form.data.url= "http://www.yahoo.com";
        break;
  }
});
</script>

In my form settings - I have it as “Go to URL” with a default URL listed.

Hopefully someone can help!

@joshua.m.sells I already replied here, please take a look and let me know: 

 


Reply