consent submitting defect fix
$(document).ready(function () {
var container;
var allAttributes = [];
+ var canSubmit;
var agreementChk = $(".agreement-checkbox input");
var registrationBtn = $("#registrationSubmit");
.attr('name', "consent")
.attr('value', JSON.stringify(receipt))
.appendTo('#register');
+ if (canSubmit) {
self.submit();
+ }
+
<%
}
%>
if (!allMandatoryPiisSelected) {
$("#mandetory_pii_selection_validation").modal();
- return false;
+ canSubmit = false;
+ } else {
+ canSubmit = true;
}
return newReceipt;
