calin-beard
11/13/2017 - 4:12 PM

Open in new tab redirect URL after form submission

Open in new tab redirect URL after form submission

<script>
  function opennewtab(url){
  	var win=window.open(url, '_blank');
	}
  window.instapageFormSubmitSuccess = function( form ) {
  		opennewtab("http://google.com");
   }
</script>