title: Docusign single signer but multiple signatures on document
body: <p>I am using Docusign php api. I am signing the document by this api . everything is fine . But now i need signatures of recipients at multiple places. I don't know how many times i need the signature , Even i don't know the position where i need the signature tab , I just have a placeholder in the html doc and that is #\b . I have to put signature tab where is #\b </p>
  
  <pre><code>// create a new DocuSign configuration and assign host and header(s)
      $config = new DocuSign\eSign\Configuration();
      $config-&gt;setHost($host);
      $config-&gt;addDefaultHeader("X-DocuSign-Authentication", "{\"Username\":\"" . $username . "\",\"Password\":\"" . $password . "\",\"IntegratorKey\":\"" . $integrator_key . "\"}");
      /////////////////////////////////////////////////////////////////////////
      // STEP 1:  Login() API
      /////////////////////////////////////////////////////////////////////////
      // instantiate a new docusign api client
      $apiClient = new DocuSign\eSign\ApiClient($config);
      // we will first make the Login() call which exists in the AuthenticationApi...
      $authenticationApi = new DocuSign\eSign\Api\AuthenticationApi($apiClient);
      // optional login parameters
      $options = new \DocuSign\eSign\Api\AuthenticationApi\LoginOptions();
      // call the login() API
      $loginInformation = $authenticationApi-&gt;login($options);
      // parse the login results
      if(isset($loginInformation) &amp;&amp; count($loginInformation) &gt; 0)
      {
          // note: defaulting to first account found, user might be a 
          // member of multiple accounts
          $loginAccount = $loginInformation-&gt;getLoginAccounts()[0];
          if(isset($loginInformation))
          {
              $accountId = $loginAccount-&gt;getAccountId();
          }
      }
      if(empty($accountId))
      {
          return false;
      }
      /////////////////////////////////////////////////////////////////////////
      // STEP 2:  Create &amp; Send Envelope (aka Signature Request)
      /////////////////////////////////////////////////////////////////////////
      // set recipient information
  
      // instantiate a new envelopeApi object
      $envelopeApi = new DocuSign\eSign\Api\EnvelopesApi($apiClient);
      // Add a document to the envelope
      $document = new DocuSign\eSign\Model\Document();
      $document-&gt;setDocumentBase64(base64_encode(file_get_contents($documentFileName)));
      $document-&gt;setName($documentName);
      $document-&gt;setDocumentId("1");
      // Create a |SignHere| tab somewhere on the document for the recipient to sign
      $signHere = new \DocuSign\eSign\Model\SignHere();
      $signHere-&gt;setXPosition("20");
      $signHere-&gt;setYPosition("20");
      $signHere-&gt;setDocumentId("1");
      $signHere-&gt;setPageNumber("1");
      $signHere-&gt;setRecipientId("1");
  
     // add the signature tab to the envelope's list of tabs
      $tabs = new DocuSign\eSign\Model\Tabs();
      $tabs-&gt;setSignHereTabs(array($signHere));
      // add a signer to the envelope
      $signer = new \DocuSign\eSign\Model\Signer();
      $signer-&gt;setEmail($recipientEmail);
      $signer-&gt;setName($recipientName);
      $signer-&gt;setRecipientId("1");
      $signer-&gt;setClientUserId('12345');
      $signer-&gt;setTabs($tabs);
      // Add a recipient to sign the document
      $recipients = new DocuSign\eSign\Model\Recipients();
      $recipients-&gt;setSigners(array($signer));
      $envelop_definition = new DocuSign\eSign\Model\EnvelopeDefinition();
      $envelop_definition-&gt;setEmailSubject("Please sign this doc");
      // set envelope status to "sent" to immediately send the signature request
      $envelop_definition-&gt;setStatus("sent");
      $envelop_definition-&gt;setRecipients($recipients);
      $envelop_definition-&gt;setDocuments(array($document));
      // create and send the envelope! (aka signature request)
      $envelop_summary = $envelopeApi-&gt;createEnvelope($accountId, $envelop_definition, null);
      if($envelop_summary)
      {
          $document=json_decode($envelop_summary);
          $envloped=$document-&gt;envelopeId;
          // get the document url 
          $ReturnUrl=add_query_arg(array('action'=&gt;'docusign_request','_uid'=&gt;$formprocess,'_envelopid'=&gt;$envloped),get_permalink());
  
          $viewrequest = new DocuSign\eSign\Model\RecipientViewRequest();
          $viewrequest-&gt;setUserName($recipientName); 
          $viewrequest-&gt;setEmail($recipientEmail);
          $viewrequest-&gt;setRecipientId(1);
          $viewrequest-&gt;setClientUserId('12345');
          $viewrequest-&gt;setAuthenticationMethod('email');
          $viewrequest-&gt;setReturnUrl($ReturnUrl);
          $envelopview=$envelopeApi-&gt;createRecipientView($accountId,$document-&gt;envelopeId,$viewrequest);
          $redirecturl=$envelopview-&gt;getUrl();
          wp_redirect($redirecturl);
          // get the doc url
      } 
  </code></pre>