In the below flow, we will show you how to initiate a popup module window and close it after you get an e-sign event.
1.
First, we will load the necessary script library in the head of our page where we have integrated the boarding application process.
2. After that we will request the necessary signature info from our embed e-sign endpoint.3. For this example we will create a simple button at the end of our boarding application with the title "Sign Here" and close it after we get an e-sign event, we put a small delay as well on the close event but that is something you can exclude if needed.Create an example function called signFunction:
And the button:
When the button is clicked a modular popup will show with an iframe of our e-sign page. If all the required application fields are filled in and a signature is applied we will close the popup