Search code examples
phplaraveldocusignapidocusignconnectdocusign-sdk

Populate Dropdown options using php code in a docusign template before creating envelope


Is any who implemented Dropdownenter image description here

How can I implement it in Laravel? Like $service = new Text([....]); How can we implement Dropdown in DocuSign The dropdown class is not available in "composer require docusign/esign-client" package so how can I import dropdown class Thanks in advance for the guide or code


Solution

  • This is called ListTab, so you need to look for List. In PHP it's called ModelList, you can find the code in https://github.com/docusign/docusign-esign-php-client/blob/master/src/Model/ModelList.php

    So you add a ListTab to the Tabs object and that object is instantiated as a ModelList class.