docusignapi - Embedded Docusign -Adding text tabs to Dynamic envelop without using template -


i unable create text tabs on dynamic envelop created without template. sending pdf document bytes docusign since need generate unique envelop id each recipient. able generate recipients view document specified. able add signheretabs , datesignedtabs not text tabs/first name tabs. there few places in document user needs fill in information using text boxes. please solution add text tab guided signing.

the envelop definition follows:

"<envelopedefinition xmlns=\"http://www.docusign.com/restapi\">" +                      "<emailsubjectxxx</emailsubject>" +                     "<status>sent</status>" +                                            "<documents>" +                             "<document>" +                              "<documentid>1</documentid>" +                              "<name>" + documentname + "</name>" +                          "</document>" +                      "</documents>" +                                             "<recipients>" +                          "<signers>" +                              "<signer>" +                                  "<recipientid>1</recipientid>" +                                  "<email>" + recipientemail + "</email>" +                                    "<name>" + recipientname + "</name>" +                                 "<clientuserid>1</clientuserid>" +                                 "<tabs>" +                                         "<signheretabs>" +                                                 "<signhere>" +                                                 "<anchorstring>by:</anchorstring>" +                                                 "<anchorxoffset>1</anchorxoffset>" +                                                 "<anchoryoffset>0</anchoryoffset>" +                                                 "<anchorignoreifnotpresent>false</anchorignoreifnotpresent>" +                                                 "<anchorunits>inches</anchorunits>" +                                                 "<documentid>1</documentid>" +                                                 "<pagenumber>1</pagenumber>" +                                                 "<recipientid>1</recipientid>" +                                             "</signhere>" +                                         "</signheretabs>" +                                         "<datesignedtabs>" +                                                 "<datesigned>" +                                                 "<anchorstring>(date)</anchorstring>" +                                                 "<anchorxoffset>1</anchorxoffset>" +                                                 "<anchoryoffset>-0.25</anchoryoffset>" +                                                 "<anchorignoreifnotpresent>false</anchorignoreifnotpresent>" +                                                 "<anchorunits>inches</anchorunits>" +                                                 "<documentid>1</documentid>" +                                                 "<pagenumber>1</pagenumber>" +                                                 "<recipientid>1</recipientid>" +                                             "</datesigned>" +                                         "</datesignedtabs>" +                                         "<texttabs>" +                                                 "<texttab>" +                                                 "<tablabel>data field 1</tablabel>" +                                                     "<locked>false</locked>" +                                                     "<xposition>200</xposition>" +                                                     "<yposition>200</yposition>" +                                                     "<documentid>1</documentid>" +                                                     "<pagenumber>1</pagenumber>" +                                                     "<recipientid>1</recipientid>" +                                                     "<name>text</name>" +                                                     "<required>true</required>" +                                                     "<value>text</value>" +                                                 "</texttab>" +                                         "</texttabs>" +                                                      "</tabs>" +                                                "</signer>" +                          "</signers>" +                      "</recipients>" +                   "</envelopedefinition>"; 

thanks!

you need change inner xml element name <text> each data tab want. change this:

"<texttabs>" +     "<text>" +     ... 

Comments