divakar-loganathan | Posts: 33

How to Toggle the Review Before Completion option using Java SDK?

0 votes
Hi Team, I'm aware that there is "autocomplete":false in REST API which is used to enable the "Review Before Completion", I was wondering is there an equivalent way in Java SDK? Thanks in advance. withDialogOnComplete - gives an option for the signer to choose between review before completion/not, but I'm looking a way to default the Review Before Completion. Best Regards, Logan

Duo_Liang | Posts: 3776

Reply to: How to Toggle the Review Before Completion option using Java SDK?

0 votes
Hi Logan, Yes, this function is included in the Java SDK, following is an example shows you how to create a package with "authComplete" disabled:
DocumentPackage documentPackage = newPackageNamed("Test Package API")
				.withSigner(newSignerWithEmail("[email protected]").withCustomId("Signer1")
						.withFirstName("1.firstname").withLastName("1.lastname"))
				.withDocument(newDocumentWithName("testpdf").fromFile("./sources/Test PDF.pdf")
						.withSignature(acceptanceFor("[email protected]")))
				.autocomplete(false)
				.build();
Hope this could help you! Duo

divakar-loganathan | Posts: 33

Reply to: How to Toggle the Review Before Completion option using Java SDK?

0 votes
Thank you Duo :)

Duo_Liang | Posts: 3776

Reply to: How to Toggle the Review Before Completion option using Java SDK?

0 votes
Hi Logan, I'm glad to be of your service, just let us know if you have any other issues. :) Duo

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off