I am integrating DocuSign clickWrap on my website and It's working fine. I want to save some data when the user clicks on the Agree button. As the ClickWrap modal opens in Iframe and it is hard to get event from Iframe button, So is there any event or some Function which I can use to do this.
I have tried targetting the click event of the button inside the Iframe.
docuSignClick.Clickwrap.render({
environment: 'https://demo.docusign.net',
accountId: 'xx29fxxx-de70-xx9x-83xx-xxxxxxx43ddc',
clickwrapId: 'xxxxxx-03b2-4xxc-xxx1-cxxxxxxcbxx2c',
clientUserId: 'asdfsadfsdaf'
}, '#ds-terms-of-service');