VDFIN
VDFIN

Reputation: 1

How can i specify the size of a text field in API sending

We are sending a document through API at a certain point the customer should be able to write a big block of text. Yet when putting a text field in the custom field without limitation you can only write until you get to the end of the page. and it does not continue on the line below.

unlimited

if you put fixed size i do not seem to be able to actually specify the width and hight of the field that a customer can use in de custom field set-up. and i only get a small field where you can place 1 character.

fixed size

Does anyone now how to get around this?

We place the fields on the documents with predefined tags on the document and custom document fields

I tried to go to the other settings to see whether something could help me like the fixed size.

Upvotes: 0

Views: 690

Answers (1)

Paige Rossi
Paige Rossi

Reputation: 371

DocuSign doesn't allow you to create a text box with unlimited size or for users to input text that extends off the page. I would recommend using the height and width properties to set the size of the tab to the max area where your user can input text. If you set the height property your tab will be able to include multiple lines of text. The json would look something like the snippet below. You can also enable API request logging which allows you to try setting tabs in the web app and then you can download the logs to see what the json looks like for the tabs you created.

"textTabs": [
  {
    "pageNumber": "1",
    "xPosition": "300",
    "yPosition": "400",
    "documentId": "1",
    "width": "100",
    "height": "30"
  }
]

Upvotes: 2

Related Questions