Hi Josh,
You can accomplish overriding the submission logic with this JavaScript here:
$("#button")[0].onclick = null;
$("#button").click(function() { alert("done") });
You will also have to go into the button's advanced properties and set "UseSubmitBehavior" to false.
Additionally, if you are using the Multi-Form/Page step buttons there is another way to do this. You may override the OnClientClick event located in the advanced properties of the Multi-Form/Page step buttons by inserting JavaScript code or a function.
However, please note that if you are directing to a previous page, you must ensure that the "step" query string parameter is set to the GUID of the appropriate form - this is how the Multi-Step buttons keep track of where they are.
You can do this with the code:
window.location.origin+window.location.pathname+ "?step="
Where the value of the querystring parameter of step is the GUID of the appropriate form.
Hopefully this helps!
Kind Regards,
Chris.
Last modified on 13 Nov 2015 14:11 by Missing user