Monday 11 August 2014

Redirection to a page on Info Path form submit button click

 just add the below script in your content editor web part

<script>
function pageLoad()
{
 setTimeout(setEventHandler,3000);
}
function setEventHandler()
{
 var btnSend = document.getElementById("ctl00_SPWebPartManager1_g_05feacdc_f33d_4745_9911_be9cad71a70c_FormControl0_V1_I1_B19");
 btnSend.onmouseup = function(){Button.OnClick(this, event); window.location='http://www.bing.com';};
}
</script>


replace the submit button id by clicking f12 options in your browser