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