Skip to main content
Solved

Is there a way to place two date tabs?

  • 14 August 2024
  • 1 reply
  • 10 views

Hello fellow community members,

I am trying to have two dates to be filled by the customer in the document during the signing session. One of the date is required and the other is optional. Both of them use different anchor tags i.e., <Cust1_DAT> and <Cust1_DAT_REQ>. The problem I am having is the date fields override each other.

Below is the setup

When I change in the top required one it changes the other and vice versa.

I am using below C# code to create these tabs.

signer.Tabs.DateTabs.Add(new Date { AnchorString = $"<Cust1_DAT>", Required = "false" });
signer.Tabs.DateTabs.Add(new Date { AnchorString = $"<Cust1_DAT_REQ>", Required = "true" });

I will appreciate any help in this regard.

Thanks.

@tahirraza The overriding of fields will occur if the fields have the same tab label. 

Could you try adding a unique tab label for each field? For example: 

signer.Tabs.DateTabs.Add(new Date { AnchorString = $"<Cust1_DAT>", Required = "false",  TabLabel = “date1”});

signer.Tabs.DateTabs.Add(new Date { AnchorString = $"<Cust1_DAT_REQ>", Required = "true" TabLabel = “date2”});


This tool is also a resource that can show examples of C# code to create envelopes: https://apirequestbuilder.docusign.com/


Reply