diff --git a/apps/OpenSign/src/pages/PlaceHolderSign.js b/apps/OpenSign/src/pages/PlaceHolderSign.js index d082df880..fbda16dad 100644 --- a/apps/OpenSign/src/pages/PlaceHolderSign.js +++ b/apps/OpenSign/src/pages/PlaceHolderSign.js @@ -845,7 +845,7 @@ function PlaceHolderSign() { }); } } - let notExistSignature = false; // variable is used to check a signature widget exit or not then execute other code + let isSignatureExist = true; // variable is used to check a signature widget exit or not then execute other code //for loop is used to check signature widget exist or not for (let item of filterPrefill) { let signatureExist = false; // Reset for each iteration @@ -860,7 +860,7 @@ function PlaceHolderSign() { } } if (!signatureExist) { - notExistSignature = true; + isSignatureExist = false; const alert = { mssg: "sure", alert: true @@ -875,7 +875,7 @@ function PlaceHolderSign() { alert: true }; setIsSendAlert(alert); - } else if (!notExistSignature) { + } else if (isSignatureExist) { if (filterPrefill.length === signersdata.length) { const IsSignerNotExist = filterPrefill?.filter((x) => !x.signerObjId); if (IsSignerNotExist && IsSignerNotExist?.length > 0) { @@ -1713,8 +1713,8 @@ function PlaceHolderSign() { > {isSendAlert.mssg === "sure" ? ( - Please add at least one signature field for all - recipients. + Please ensure there's at least one signature widget + added for all recipients. ) : isSendAlert.mssg === textWidget ? (
Please confirm that you have filled the text field.
diff --git a/apps/OpenSign/src/pages/SignyourselfPdf.js b/apps/OpenSign/src/pages/SignyourselfPdf.js index 63fb8e8b7..027abb889 100644 --- a/apps/OpenSign/src/pages/SignyourselfPdf.js +++ b/apps/OpenSign/src/pages/SignyourselfPdf.js @@ -637,6 +637,7 @@ function SignYourSelf() { } if (xyPostion.length === 0 || !isSignatureExist) { setIsAlert({ + header: "Fields required", isShow: true, alertMessage: "Please ensure there's at least one signature widget added" @@ -1170,7 +1171,7 @@ function SignYourSelf() {{isAlert.alertMessage}
- - -