0
votes

I'm testing out a DocuSign template I made using their payload helper. I'm able to populate the custom text fields with the following body structure. However, any numeric field is not getting set. I tried including them as textTabs but they're not getting set. Does anyone know the correct format for these fields? There doesn't appear to be a numericTabs option.

    "templateRoles": [
            {
              "tabs": {
                "textTabs": [
                  {"tabLabel": "Address", "value": "5 Main St"},
                  // Phone not getting set
                  {"textLabel": "Phone", "value": "1234567891"},
                ]
              },
              "roleName": "Customer",
              "name": "Customer Name",
              "email": "[email protected]"
            }
        ]
1

1 Answers

0
votes

You have a typo in the label name, for the phone you are setting:

{"textLabel": "Phone", "value": "1234567891"},

you need tabLabel instead of textLabel like you have for the address

{"tabLabel": "Phone", "value": "1234567891"},

As long as you fix that and are using the same name you named the field in the template it will work.