You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.
Add in the C# SDK the required parameter for custom fields (Workaround from a customer documented here)
For signature requests that send the request using a template:
v3/signature_request/send_with_template is one example
The API Supports making an editable custom field with a required requirement
This issue is to request the ability to add the required parameter to the SDK. This is only required if there is an editor.
Potential workaround provided by a customer:
List customFields = new List();
foreach (var entry in signatureRequest.CustomFields)
{
CustomFieldParam fld = new CustomFieldParam();
fld.name = entry.Name;
fld.value = entry.Value;
fld.editor = entry.Editor;
fld.required = entry.Required.ToString().ToLower();
customFields.Add(fld);
}
request.AddParameter("custom_fields",
JsonConvert.SerializeObject(customFields.ToArray()));
Perhaps there is a more elegant solution, but this got the customer to where they needed
to be.
The text was updated successfully, but these errors were encountered: