0

According to DocuSign: How to prefill multiple text tabs with the same label?, by appending \\* to my Text Tab label will make it work and it does.

However, when I have Text Tab labels that end with the same character sequence, the incorrect value will be set: ServiceName and Name Text Tabs will both get populated with the value I set for Name.

Is there a way for this not to happen?

Christopher Francisco
  • 15,672
  • 28
  • 94
  • 206

1 Answers1

0

The \\* syntax is a wildcard, so if you want your API request to populate the Name field but not the ServiceName field, then you can do so by having your API request specify tabLabel = Name\\* (this will populate any field that has a label starting with the value "Name").

For example, this JSON within my Create Envelope API request...

"tabs": {
  "textTabs": [
      {
          "tabLabel": "Name\\*",
          "value": "value_inserted_via_API"
      }
  ]
}

...populates the Name field in the Envelope, but not the ServiceName field:

DS Envelope Fields

Kim Brandl
  • 13,125
  • 2
  • 16
  • 21