How can i specify the size of a text field in API sending - docusignapi

We are sending a document through API at a certain point the customer should be able to write a big block of text. Yet when putting a text field in the custom field without limitation you can only write until you get to the end of the page. and it does not continue on the line below.
unlimited
if you put fixed size i do not seem to be able to actually specify the width and hight of the field that a customer can use in de custom field set-up. and i only get a small field where you can place 1 character.
fixed size
Does anyone now how to get around this?
We place the fields on the documents with predefined tags on the document and custom document fields
I tried to go to the other settings to see whether something could help me like the fixed size.

DocuSign doesn't allow you to create a text box with unlimited size or for users to input text that extends off the page. I would recommend using the height and width properties to set the size of the tab to the max area where your user can input text. If you set the height property your tab will be able to include multiple lines of text. The json would look something like the snippet below. You can also enable API request logging which allows you to try setting tabs in the web app and then you can download the logs to see what the json looks like for the tabs you created.
"textTabs": [
{
"pageNumber": "1",
"xPosition": "300",
"yPosition": "400",
"documentId": "1",
"width": "100",
"height": "30"
}
]

Related

Docusign - Setting tabs in HTML documents - concealValueOnDocument

Need help with using the attribute ConcealValueOnDocument. Document in the envelope is a html document
Following syntax was tried and it did not work.
<input name="color" data-ds-type="text" data-ds-role="Signer1" style="width:120px;" concealValueOnDocument="true" />");
And in the developer console the option is "Hide text with asterisks". I am looking for examples or directions on how to conceal a value when uploading as HTML.
Also is it possible to hide the text box completely when value is entered?
Edited to show how the document is submitted
Document document = new Document();
document.setHtmlDefinition(documentHtmlDefinition);
document.setName(signatureRequest.getDocumentName());
document.setDocumentId(signatureRequest.getDocumentId());
....
envelopesApi.createEnvelope(accountId, envelopeDefinition);
And the html has appropriate tags for different fields.
You are setting the tab via inline HTML. Inline HTML can be used to set many tab properties, but not all of them. concealValueOnDocument cannot be set via inline HTML. The list is on page Setting tabs in HTML documents in section Configuring HTML tabs.
Solution
Use an Inline JSON marker for the tab. See page Setting tabs in HTML documents.
Example
API request:
"textTabs": [
{
"name": "color",
"tabLabel": "signer1Color",
"width": "120",
"concealValueOnDocument: "true"
}
]
Within the HTML:
{{ "tabLabel": "signer1Color" }}

DocuSign Api - TextTab size

I am having trouble with creating texttabs via the docusign REST API.
The creation succeed, but when I open the DocuSign page to sign the document, the created texttabs have not the defined size.
Interestingly the created notetabs with the same size work properly.
I compare the texttab with a Textbox with the size 100 px * 100 px.
How can I fix this issue?
"textTabs": [
{
"height": 100,
"name": "Test1",
"width": 100,
"disableAutoSize": "true",
"documentId": "1",
"pageNumber": "1",
"xPosition": "291",
"yPosition": "244"
}
]
DocuSign adds some additional offsets based on the Tab Type that is being used.
See this answer for more information.
Troubleshooting Tip:
I suggest, you use the DocuSign Web Sending UI to tag your documents and use the lisEnvelopeRecipients to retrieve the Tab positions. You can then use the Tab positions for your subsequent API calls.

Dynamic Company Name on PDF

I have a place on my pdf that says, I authorize .....
I would like to dynamicly put in the Company Name here that will be use in the same template
is there a way like how I pass recipientName, I can also pass company Name so that it can display here.
Please research the DocuSign Developer Center, as it answers this question and many more you may have. If you look at the Explore -> Features section you'll see in the Stick-eTabs section an area that describes Tab Positioning. Here it explains the two main ways of placing tabs on your documents.
https://www.docusign.com/developer-center/explore/features/stick-etabs
The Tab Positioning in the above page describes how you can place tags using Absolute positioning (i.e. 100 pixels to the left, 50 pixels down), or you can use Relative (aka Anchor) positioning. With anchor tabs you can place tabs based on document content. For your example of placing a company tab at or near the text "I authorize...", you can use the following (partial) JSON:
"tabs": {
"companyTabs": [
{
"anchorString": "I authorize...",
"anchorXOffset": "1",
"anchorYOffset": "0",
"anchorIgnoreIfNotPresent": "false",
"anchorUnits": "inches"
}
]
}
This would in turn place a companyName tab 1-inch to the right of the text "I authorize..." in your document. You can place any DocuSign tab using the Anchor Tagging method, but one thing to note is that it will place those tags at ANY and EVERY location it finds the anchorString text in the envelope.

OpenWrt luci web interface logo picture and modify strings

I am trying to modify the web interface of bootstrap theme in OpenWrt's luci web interface and i managed to change colors and some simple things but i cannot find how to change the names of the tabs (for example instead of "status" to write "status11111"). Also i wanted to add a logo picture on the top of the page and i managed to add it for the login page and also it appears on the default main page after the login but then if I swap to any tab the picture appears like crashed or missing (see the image bellow) and the link becomes like this "/cgi-bin/luci/;stok=96c966ea63a7913b6c02fc09c7862d77/admin/status/overview".
My 2 questions are: how can I change the names of the tabs and how can I add a logo picture on the top of the page so it can appear to every tab? What files do I have to modify?
For question #1 "how to change the names of the tabs", you want to look in /usr/lib/lua/luci/controllers/admin
There will be a number of files including "index.lua", "status.lua", "network.lua", etc. If, for example, you wanted to change the name of the status tab from "Status" to "New Status Tab Name", you would go into status.lua and find the line:
entry({"admin", "status"}, alias("admin", "status", "overview"), _("Status"), 20).index = true
and replace it with:
entry({"admin", "status"}, alias("admin", "status", "overview"), _("New Status Tab Name"), 20).index = true
For question #2, what exactly did you edit when you added the image?

Do not show the node ids when displaying the graph

I am displaying a graph. I have discovered the attributes. I am using successfully URL, shape and color. But I also want to output nodes without IDs (my IDs are too long to fit the display). So I have tried to set label to "", but still the node id is shown in the svg output. How can I prevent this? These are the attributes I am setting (in python):
[
('label', ''),
('URL', 'http://my.url.com'),
('shape', 'octagon'),
('color', 'purple'),
]
Setting the URL conflicts with an empty label. A Short label must be configured if a URL is given.

Resources