Non-Signing Document Acknowledgement
ProntoOpenNet Wednesday, October 22 2008One of our many Signature types is the "Acknowledge" type. The "acknowledge" signature type is a special type that allows you to record the fact that a user has reviewed a document, but a legal signature is not required. This type acts just like any other signature type, including placement of the click text in the document, but no visible signature is placed in the document. You must still specify the location information just as you do with any signature. There is special default click text associated with the "acknowledge" type, which is: "I Have Reviewed This Document", instead of the usual "Click Here to Sign". Note: You should not specify any other data items such as Title, Organization, Email or optional text to be printed in a document when using the "acknowledge" type.
<%@ Page Language="VB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Dim t As New Pronto.Transaction() t.Account.Name = ConfigurationManager.AppSettings("Pronto_Account") t.Account.Password = ConfigurationManager.AppSettings("Pronto_Password") t.Account.OutgoingEmailSignatureBlock = "John Hancock" Dim doc As New Pronto.Document() doc.Title = "Test Document" doc.UserFileNameType = Pronto.Document.UserFileNameTypes.UseDocTitleSlashUserFileNamePlusSignerNamesPlusExtension doc.UserFileName = "Test_Document" doc.Source.Type = Pronto.Source.Types.Pdf_File_PageImage doc.Source.Data = Server.MapPath("Documents/Eula.pdf") doc.SignatureInformationAnnotation = True Dim signer As New Pronto.Signer() signer.Name.FullName = "John Hancock" signer.Link = Pronto.Signer.LinkTypes.Url signer.Person = Pronto.Signer.PersonTypes.Organization Dim sig As New Pronto.Signature() sig.Type = Pronto.Signature.Types.Acknowledge sig.Font.Bold = True sig.Font.Italic = True sig.Font.Size = FontUnit.Point(36) sig.Font.Name = "Script" sig.Name.Placement.Page = 2 sig.Name.Placement.X = 50 sig.Name.Placement.Y = 150 sig.Email.Display = True sig.ClientReturnUrl = "thanks.asp?a=4" signer.Signatures.Add(sig) doc.Signers.Add(signer) t.Documents.Add(doc) t.Debug.Active = True t.Commit() If t.Error = "" Then lblResult.Text = "Your transaction submitted successfully. Return to the <a href=""../Admin/Default.aspx"">main menu</a>." Else lblResult.Text = t.ErrorFriendlyMessage End If If t.Debug.Active Then Response.Write(t.Debug.FormattedReturn) End If End Sub </script> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:Label ID="lblResult" runat="server" /> </div> </form> </body> </html>