Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
onFormSubmit issue
<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
You can’t perform that action at this time.