Skip to main content
Question

Document Generation fields setting question


Forum|alt.badge.img+2

By using document generation, I added custom fields into document, set a field without required option and saved, then I requested the `https://{{docusignHost}}/restapi/v2.1/accounts/{{accountId}}/templates/{{templateId}}` but the response of request shows that field is `"required": "True"` 

I don’t know whether it is right

 

4 replies

Forum|alt.badge.img+4
  • Docusign Employee
  • 38 replies
  • July 2, 2024

Hello!

Thank you for reaching out here in the DocuSign Community.

I have completed the same test that you did and I had the same result, let me ask the development team to understand this behavior, maybe it is normal or we are facing a bug.

Thank you very much for sharing this concern.

Eric | Docusign


Forum|alt.badge.img+2
  • Author
  • Newcomer
  • 2 replies
  • July 16, 2024

Pls let me know whether it is normal or a bug, thank you very much!


Forum|alt.badge.img+4
  • Docusign Employee
  • 38 replies
  • July 16, 2024

Hi @baostar,

This is normal behavior, as all fields set in the document as Doc Gen will default to "required": "true".

This means that when you get the information from the template you will always see the Doc Gen fields as required.

It is also important to mention that if you insert tabs in the document, these will not come as "docGenFormFields", but as boxes that you insert, for example in the custom fields they will come with the "customFields" property, Example:

 

 


Forum|alt.badge.img+2
  • Author
  • Newcomer
  • 2 replies
  • July 17, 2024

I‘ll try , thank you for sharing this