Last active
June 28, 2016 19:03
-
-
Save nathan-appere/404d0c1a65dfebe8da7d7be01bab3347 to your computer and use it in GitHub Desktop.
onFormSubmit issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
hbspt.forms.create({ | |
portalId: '453289', | |
formId: 'faafbc57-6c2f-49a6-87ef-02c8653fdb30', | |
submitButtonClass: 'submitbutton', | |
redirectUrl: 'https://www.localhost.twenty20.com/pricing?roadblock=skip', | |
// This is never called. | |
onFormSubmit: function() { console.log("---------- onFormSubmit"); debugger; }, | |
// This one works find. | |
onFormReady: function() { console.log("---------- onFormReady"); debugger; } | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment