Hi All,
I am trying to set a radio button value on click of the Submit button. I have a Multistep form. It has 2 steps and in Portal management, on 2nd step--> Form Options tab, under custom JavaScript, I have written JS. Please see below.
if (window.jQuery) {
(function ($) {
if (typeof (entityFormClientValidate) != 'undefined') {
var originalValidationFunction = entityFormClientValidate;
if (originalValidationFunction && typeof (originalValidationFunction) == "function") {
entityFormClientValidate = function () {
originalValidationFunction.apply(this, arguments);
$("#cr4f7_submitstatus_1").prop('checked', true);
return true;
};
};
}
}(window.jQuery));
}
Step - 2 screenshots below.
General Tab

Form Options Tab

I have a Candidate table with 2 forms. 1st form is referenced in the Step - 1 and 2nd form is referenced in the Step - 2 on the Multistep form. I am not using Basic Form in these 2 steps.
Here is the UI screenshot

On click of Submit button, the submit status radio button value is not changed to YES. Please share your thoughts on how to fix this.
Thanks