Hi,
I have a web form with a couple of web form steps.
In my final web form step I want to change the status of the record on submit of the button.
I have included JavaScript in the Custom JavaScript box. For some reason webFormClientValidate is always undefined and so never sets the status code when I click on submit. Any ideas on what I am doing wrong?
if (window.jQuery) { (function ($) { $(document).ready(function () { if (typeof (webFormClientValidate) != 'undefined') { var originalValidationFunction = webFormClientValidate; if (originalValidationFunction && typeof (originalValidationFunction) == "function") { webFormClientValidate = function () { originalValidationFunction.apply(this, arguments); alert("test"); //Set Status code to submission in progress $("#statuscode").val(717640002); return true; } } } }); }(window.jQuery)); }
*This post is locked for comments