Search code examples
salesforcedocusignapi

DocuSign Api. How to let signer edit a text tab with a sample text?


I am trying to put a text box near "NAME:" and I would like the signer to fill the box. Client has asked to put a guide/ghost text like "name here". If I send the envelope with "value" already set, it will not let the signer to modify it.

Does somebody know how or already had this problem ? Thanks in advance

code:

"textTabs": [{
"tabLabel": "Name",
*"value": "name here",*  <-- (?)
"anchorString": "Charterer full name:",
"anchorXOffset": "1.2",
"anchorYOffset": "-0.1",
"anchorIgnoreIfNotPresent": "false",
"anchorUnits": "inches"
}]

Solution

  • Add locked=false, to make tab not be readonly, like this:

    "textTabs": [{
    "tabLabel": "Name",
    "value": "name here",
    "locked": "false",
    "anchorString": "Charterer full name:",
    "anchorXOffset": "1.2",
    "anchorYOffset": "-0.1",
    "anchorIgnoreIfNotPresent": "false",
    "anchorUnits": "inches"
    }]