Hi All,
Thanks for reading my post.
I'm using Dynamics 365 Portal in which I'm using Web Template which is calling Webform. Webform has Webform steps. Under Webform step I've written down General Validation Javascript as mentioned here.
Problem is webFormClientValidate is appearing as undefined.
My code is almost the same:-
if (window.jQuery) { (function ($) { if (typeof (webFormClientValidate) != 'undefined') { var originalValidationFunction = webFormClientValidate; if (originalValidationFunction && typeof (originalValidationFunction) == "function") { webFormClientValidate = function() { originalValidationFunction.apply(this, arguments); $("#wp_websubdivisionclearance").val(JSON.stringify(getFormData())); return true; }; } } }(window.jQuery)); }
Thanks alot!