onFormSubmit not working in Windows edge 10 and the iphone


#1

Hi,

The onFormSubmit function in the form is not working on Windows edge 10 and the iPhone. On all other browsers it is working fine.

To confirm the issue was not my code I remove all of my code and just put a console.log:

<script charset="utf-8" src="//js.hsforms.net/forms/v2-legacy.js">&nbsp;</script>
<![endif]-->
<script src="//js.hsforms.net/forms/v2.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
  hbspt.forms.create({
	portalId: 'xxxx',
	formId: 'xxxxx',
	onFormSubmit: function($form) {
		console.log("SOHO Test");
	}
  });
</script>

On all the other browsers I see “SOHO Test” in the console.

Anyone else have a similar issue?

Thanks!