Skip to content

Commit 5b139b6

Browse files
Merge pull request #727 from OpenSignLabs/raktima-opensignlabs-patch-6
feat: add help message button on send-in-order in request signature form
2 parents 94eb5f9 + 245bf80 commit 5b139b6

File tree

1 file changed

+66
-6
lines changed

1 file changed

+66
-6
lines changed

apps/OpenSign/src/pages/Form.js

Lines changed: 66 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { PDFDocument } from "pdf-lib";
1616
import axios from "axios";
1717
import { isEnableSubscription, submitBtn } from "../constant/const";
1818
import ModalUi from "../primitives/ModalUi";
19+
import { Tooltip } from "react-tooltip";
1920

2021
// `Form` render all type of Form on this basis of their provided in path
2122
function Form() {
@@ -708,11 +709,11 @@ const Forms = (props) => {
708709
/>
709710
</div>
710711
{props.title !== "New Template" && (
711-
<SelectFolder
712-
onSuccess={handleFolder}
713-
folderCls={props.Cls}
714-
isReset={isReset}
715-
/>
712+
<SelectFolder
713+
onSuccess={handleFolder}
714+
folderCls={props.Cls}
715+
isReset={isReset}
716+
/>
716717
)}
717718
{props.title === "Request Signatures" && (
718719
<div className="text-xs mt-2">
@@ -732,7 +733,66 @@ const Forms = (props) => {
732733
)}
733734
{props.title !== "Sign Yourself" && (
734735
<div className="text-xs mt-2">
735-
<label className="block">Send In Order</label>
736+
<label className="block">
737+
Send In Order
738+
<a data-tooltip-id="sendInOrder-tooltip" className="ml-1">
739+
<sup>
740+
<i
741+
className="fa-solid fa-question rounded-full"
742+
style={{
743+
borderColor: "#33bbff",
744+
color: "#33bbff",
745+
fontSize: 13,
746+
borderWidth: 1.5,
747+
padding: "1.5px 4px"
748+
}}
749+
></i>
750+
</sup>
751+
</a>
752+
<Tooltip id="sendInOrder-tooltip" className="z-50">
753+
<div className="max-w-[200px] md:max-w-[450px]">
754+
<p className="font-bold">Send in Order</p>
755+
<p>
756+
Choose how you want the signing requests to be sent to
757+
the document signers:
758+
</p>
759+
<p className="p-[5px]">
760+
<ol className="list-disc">
761+
<li>
762+
<span className="font-bold">Yes:</span>
763+
<span>
764+
{" "}
765+
Selecting this option will send the signing
766+
request to the first signer initially. Once the
767+
first signer completes their part, the next signer
768+
in the sequence will receive the request. This
769+
process continues until all signers have signed
770+
the document. This method ensures that the
771+
document is signed in a specific order.
772+
</span>
773+
</li>
774+
<li>
775+
<span className="font-bold">No: </span>
776+
<span>
777+
Selecting this option will send the signing links
778+
to all signers simultaneously. Every signer can
779+
sign the document at their convenience, regardless
780+
of whether other signers have completed their
781+
signatures. This method is faster but does not
782+
enforce any signing order among the participants.
783+
</span>
784+
</li>
785+
</ol>
786+
</p>
787+
788+
<p>
789+
Select the option that best suits the needs of your
790+
document processing.
791+
</p>
792+
</div>
793+
</Tooltip>
794+
</label>
795+
736796
<div className="flex items-center gap-2 ml-2 mb-1">
737797
<input
738798
type="radio"

0 commit comments

Comments
 (0)