onFormSubmit not working in Windows edge 10 and the iphone



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>
<script src="//js.hsforms.net/forms/v2.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	portalId: 'xxxx',
	formId: 'xxxxx',
	onFormSubmit: function($form) {
		console.log("SOHO Test");

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

Anyone else have a similar issue?