Last modified: 2024-03-26

Positioning OneSpan Sign Fields via Text Tags

A selected Convention's Text Tag can be used to insert a OneSpan Sign field at particular positions in multiple documents for multiple recipients.

The following types of Text Tags can be used for this purpose:

Before continuing, be aware of the following:

  • Before creating any of the above Text Tag types, ensure that each Recipient Label has at least one Text Tag of type Signature (Full Name, Initials, Capture, or Mobile Capture). If a Recipient Label doesn’t have any Text Tags, the OneSpan Sign transaction created with that label could be corrupted.

  • When applying a Convention to a transaction, the OneSpan Sign for Salesforce connector appears to scan all documents and look for all the tags defined in the convention for each of the documents. If it does not find a tag, a zero-dimensions field positioned at (0,0) may be created.

 

When a Text Tag inserts an object in a document, that object overwrites and thus obscures any preexisting content in that place.

You can use Text Tags with the Auto-Prepare feature to automatically prepare entire OneSpan Sign transactions for sending (see Auto-Preparing Transactions).

Positioning Fields at Static Positions

The following procedure illustrates how to use the Static Position Text Tag to insert OneSpan Sign fields at static positions (fixed X-Y coordinates) in multiple documents for multiple recipients.

To insert a OneSpan Sign field at a static position in multiple documents for multiple recipients:

  1. Create a new Convention, and save it.
  2. On the Convention Detail page, click New OneSpan Sign Recipient Label.
  3. Give the Recipient Label a name, and then click Save.
  4. Click New Text Tag to create a Text Tag in the Recipient Label.
  5. On the New Text Tag page, select Static Position from the drop-down list, and give the Text Tag a name.
  6. Type values for the Text Tag's Top Offset and Left Offset.
  7. This step specifies the field's fixed position on a page. The next step specifies the page on which the OneSpan Sign field will appear.

  8. Specify the Page number on which the Text Tag should appear.
  9. Pages are counted sequentially from the first to the last document in the transaction.

  10. Specify the Width and Height of the OneSpan Sign field you want to create.
  11. In the OneSpan Sign Field Name section, choose the desired Type from the drop-down list. Then click Save.
  12. Create a new OneSpan Sign transaction, and add your Convention to the transaction.
  13. On the OneSpan Sign Transaction page, click Advanced Options.
  14. In the OneSpan Sign Convention field, select Lookup.
  15. Choose the Convention created above, and add documents to the transaction.
  16. Add recipients to the transaction, and assign each recipient a Recipient Label from the drop-down list.
  17. If at this step you choose the Recipient Label created above, the field created above will appear for that recipient.

  18. Click Prepare to see the Designer. Verify that the field defined in the Convention has been inserted properly in each document for each relevant recipient. Once you're satisfied with the results, you can close the Designer, and then click Send to send the transaction.

Positioning Fields via Text Anchors

The following procedure illustrates how to use the Text Anchor Text Tag to insert OneSpan Sign fields in multiple documents for multiple recipients.

Fields will be inserted at the positions of the Text Anchors.

Text Anchors are available for both Microsoft Word documents and PDF documents.

To use Text Anchors to insert a OneSpan Sign field in multiple documents for two recipients:

  1. Create a new Convention, and save it.
  2. On the Convention Detail page, click New OneSpan Sign Recipient Label.
  3. Give a name to the Recipient Label, and then click Save. This Recipient Label is for the first recipient.
  4. Click New Text Tag to create a Text Tag in the Recipient Label.
  5. On the Text Tag page, choose Text Anchor from the Field Type drop-down list, and give the Text Tag a name.
  6. Fill in the Text field with the exact string to be searched for in the uploaded documents.
  7. If the exact text string cannot be found in an uploaded document, OneSpan Sign will trigger an error and then delete the document from the transaction.

  8. Add the Character Index within the Text Anchor. It will be used to calculate the position of the field.
  9. Add the Occurrence of the search string. For example, a value of 2 will skip the first two occurrences of the anchor text, and use the third occurrence to calculate the position.
  10. Specify a Top Offset and Left Offset for the field's position relative to the relevant anchor text. Each offset can be positive, negative, or zero.
  11. Specify the Width and Height of the desired OneSpan Sign field.
  12. Under the OneSpan Sign Field Name, choose Signature as the desired type from the drop-down list. Then click Save.
  13. Repeat Steps 2-11 for the second recipient. The following image illustrates how the resultant Signature Blocks may appear at the end of this procedure.
  14. Create another Text Anchor for the signing date, with the Text Anchor being the first occurrence of DATE.
  15. Create a Recipient Label for the second recipient, and within it create two Text Tags. The first is for the signature, using WITNESS SIGNATURE as the anchor text. The second is for the signing date, using the second occurrence of DATE.
  16. Create a new OneSpan Sign transaction. You must give the transaction a name.
  17. On the OneSpan Sign transaction page, click Advanced Options.
  18. In the OneSpan Sign Convention field, select Lookup.
  19. Choose the created Convention.
  20. Add documents and recipients to the transaction , and assign each recipient a Recipient Label from the drop-down list.
  21. If at this step you choose a Recipient Label created above, the field created above will appear for that recipient.

  22. Click Prepare to open the Designer. Verify that the Signature Blocks and signing dates defined above have been properly inserted. You can then close the Designer, and click Send to send the transaction.

Positioning Fields via PDF Form Fields

The following procedure illustrates how to use the PDF Form Field Text Tag to insert OneSpan Sign fields in multiple documents for multiple recipients.

The PDF Form Fields already have fixed positions in the relevant PDF, and the OneSpan Sign fields will be placed in the PDF Form Fields.

To use PDF Form Fields to insert a OneSpan Sign field in multiple documents for multiple recipients:

  1. Verify that the relevant PDF document has at least one PDF Form Field.
  2. Create a new Convention, and save it.
  3. On the Convention Detail page, click New OneSpan Sign Recipient Label.
  4. Give the Recipient Label a name, and then click Save.
  5. Click New Text Tag to create a Text Tag in the Recipient Label.
  6. On the Text Tag page, select PDF Form Field from the drop-down list.
  7. Give the Text Tag a name, and fill in the Form Field Name with the name of the PDF Form Field from the PDF.
  8. On the OneSpan Sign Field Name, select the field type from the drop-down list (e.g., signature, auto-fill signed date, input text field). Then click Save.
  9. Create a new OneSpan Sign transaction. You must give the transaction a name.
  10. On the OneSpan Sign transaction page, click Advanced Options.
  11. In the OneSpan Sign Convention field, select Lookup, and choose the Convention created above.
  12. Add documents and recipients to the transaction, and assign each recipient a Recipient Label from the drop-down list.
  13. If at this step you choose a Recipient Label created above, the field created above will appear for that recipient.

  14. Click Prepare to open the Designer. Verify that the signature and signing date defined above have been properly inserted at the positions of the pre-existing PDF Form Fields. You can then close the Designer, and click Send to send the transaction.
Was this information helpful?
X