arathore | Posts: 16

eSignLive PDF is showing AnchorText in background of Sign Date

0 votes
We are facing issue with the TextAnchor visibility issue in the PDF’s on Signing Date field. We are using eSignLive API to add tags and signers and sending the request in JSON format. In below example of request json sent to eSignLive we are sending the AnchorText to Identify the Insured_Signature_Date Request JSON Signatures": [ { "GroupId": null, "SignerEmail": "[email protected]", "RoleId": null, "Accepted": null, "Page": 8, "X": 0, "Y": 0, "Height": 50, "Width": 200, "Style": {}, "Fields": [ { "Id": "User_Signature_Date", "Width": 200, "Height": 50, "Style": {}, "X": 0, "Y": 0, "Page": 8, "Binding": "{approval.signed}", "Validator": null, "Name": null, "Extract": false, "Value": null, "TextAnchor": { "AnchorText": "AFSADFdsfdsfsd34sgdgs", "Occurrence": 0, "Character": 0, "Position": {}, "XOffset": 0, "YOffset": 0, "Width": 60, "Height": 16 } } ], "Id": { "Id": "User_Signature" }, "Name": null, "Extract": false, "TextAnchor": { "AnchorText": "gdssgsdge5535wtcxvx", "Occurrence": 0, "Character": 0, "Position": {}, "XOffset": 0, "YOffset": -10, "Width": 380, "Height": 30 } On PDF, above shown Anchor Text 'AFSADFdsfdsfsd34sgdgs' appearing in background which need to be hidden

Duo_Liang | Posts: 3776

Reply to: eSignLive PDF is showing AnchorText in background of Sign Date

0 votes
Hi arathore, If you mean the date field is added to your document while your text anchor "AFSADFdsfdsfsd34sgdgs"/"gdssgsdge5535wtcxvx" remains in the background, it's an expected behavior. Because the Text Anchors feature only finds your anchor in the pdf and get it's XY coordinates. (similar to position extraction which uses pdf forms to tell OneSpan Sign location) The text anchor itself won't be removed or hidden. So you can either choose other texts as an anchor for your date fields or simply you can use other extraction methods like position extraction. Hope this could help you! Duo

arathore | Posts: 16

Reply to: eSignLive PDF is showing AnchorText in background of Sign Date

0 votes
Hi Duo, Thanks for your reply! We are using this text anchor to show the date when particular signer Signed the Document. We have a pdf where signatures and signing date are placed on an area where background color of the page is not white(attached image). Generally the pages have white background that's why the text anchor is not visible or mixed in background. we are using code attached in Code_used.JPG to add the Anchor Is there any way some style can be added with field so that this background anchor text can not be shown in non white background Thanks, A. Rathore

Attachments
Duo_Liang | Posts: 3776

Reply to: eSignLive PDF is showing AnchorText in background of Sign Date

0 votes
Hi Aniket, Now I understand your scenario. So first can you change the color of your text anchor according to your background color? Because after signed, date fields in OneSpan Sign are simply added to your document, it won't cover the anchor text. So from my knowledge, I don't think we have a way to hide the original text. If you want the text not shown, you can try our "Text Tag Extraction Feature", as it's a very similar idea to Text Anchor. Hope this could help you! Duo

arathore | Posts: 16

Reply to: eSignLive PDF is showing AnchorText in background of Sign Date

0 votes
Hi Duo, How can we change the color of text using TextAnchorBuilder ? Thanks, A. Rathore

Duo_Liang | Posts: 3776

Reply to: eSignLive PDF is showing AnchorText in background of Sign Date

0 votes
Hi Aniket, Text color can't be changed through using Text Anchor Feature. Because the original design purpose of this feature is really use existing text (useful information which you don't want to hide) in the document as an anchor to locate your fields, and there's no parameter to modify the text anchor itself. So can you set the color using the same lib/tool when you change the text anchor to white? Or you can use "Date" as the anchor plus x-y offsets to locate your date field. Duo

arathore | Posts: 16

Reply to: eSignLive PDF is showing AnchorText in background of Sign Date

0 votes
Thanks Duo... for your reply Thanks, A. Rathore

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