docusignapi

DocuSign API - Set Size of Text Tab Input


I'm generating an envelope via the DocuSign API which includes 2 text tabs - these are appearing successfully, but the size of the text input is very small to start with. Here's a screenshot:

enter image description here

Is there a way I can make this wider to start with, preferably the same width as the line that it appears on? Here's the JSON for the text tab that I'm generating currently:

    "textTabs" : 
    [
        {
            "anchorIgnoreIfNotPresent" : false,
            "anchorString" : "/SigName1/",
            "anchorUnits" : "pixels",
            "anchorXOffset" : "0",
            "anchorYOffset" : "0",
            "documentId" : "1",
            "locked" : "false",
            "name" : "Your Full Name",
            "pageNumber" : "",
            "tabLabel" : "Your Full Name",
            "value" : ""
        },

Solution

  • Try this:

    "textTabs" : 
    [
        {
            "anchorIgnoreIfNotPresent" : false,
            "anchorString" : "/SigName1/",
            "anchorUnits" : "pixels",
            "anchorXOffset" : "0",
            "anchorYOffset" : "0",
            "width" : "176",
            "height": "125",
            "documentId" : "1",
            "locked" : "false",
            "name" : "Your Full Name",
            "pageNumber" : "",
            "tabLabel" : "Your Full Name",
            "value" : ""
        },