Skip to content

Commit d191a0f

Browse files
authored
Merge pull request #194 from docusign/DEVDOCS-15446
Devdocs 15446
2 parents 8105b66 + 7a09e12 commit d191a0f

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ For a list of code examples that use the Web Forms API, see the [How-to guides o
7070
### Prerequisites
7171
**Note:** If you downloaded this code using [Quickstart](https://developers.docusign.com/docs/esign-rest-api/quickstart/) from the Docusign Developer Center, skip items 1 and 2 as they were automatically performed for you.
7272

73-
1. A free [Docusign developer account](https://go.docusign.com/o/sandbox/); create one if you don't already have one.
73+
1. A free [Docusign developer account](https://www.docusign.com/developers/sandbox); create one if you don't already have one.
7474
1. A Docusign app and integration key that is configured to use either [Authorization Code Grant](https://developers.docusign.com/platform/auth/authcode/) or [JWT Grant](https://developers.docusign.com/platform/auth/jwt/) authentication.
7575

7676
This [video](https://www.youtube.com/watch?v=eiRI4fe5HgM) demonstrates how to obtain an integration key.

demo_documents/web-form-config.json

+1-1
Large diffs are not rendered by default.

lib/webforms/examples/createInstance.js

+14-14
Original file line numberDiff line numberDiff line change
@@ -92,56 +92,56 @@ const makeTemplate = (args) => {
9292
tabLabel: 'Signature',
9393
anchorString: '/SignHere/',
9494
anchorUnits: 'pixels',
95-
anchorXOffset: '20',
96-
anchorYOffset: '10',
95+
anchorXOffset: '0',
96+
anchorYOffset: '0',
9797
});
9898
const check = docusignEsign.Checkbox.constructFromObject({
9999
documentId: '1',
100100
tabLabel: 'Yes',
101101
anchorString: '/SMS/',
102102
anchorUnits: 'pixels',
103-
anchorXOffset: '20',
104-
anchorYOffset: '10',
103+
anchorXOffset: '0',
104+
anchorYOffset: '0',
105105
});
106106
const text1 = docusignEsign.Text.constructFromObject({
107107
documentId: '1',
108108
tabLabel: 'FullName',
109109
anchorString: '/FullName/',
110110
anchorUnits: 'pixels',
111-
anchorXOffset: '20',
112-
anchorYOffset: '10'
111+
anchorXOffset: '0',
112+
anchorYOffset: '0'
113113
});
114114
const text2 = docusignEsign.Text.constructFromObject({
115115
documentId: '1',
116116
tabLabel: 'PhoneNumber',
117117
anchorString: '/PhoneNumber/',
118118
anchorUnits: 'pixels',
119-
anchorXOffset: '20',
120-
anchorYOffset: '10'
119+
anchorXOffset: '0',
120+
anchorYOffset: '0'
121121
});
122122
const text3 = docusignEsign.Text.constructFromObject({
123123
documentId: '1',
124124
tabLabel: 'Company',
125125
anchorString: '/Company/',
126126
anchorUnits: 'pixels',
127-
anchorXOffset: '20',
128-
anchorYOffset: '10'
127+
anchorXOffset: '0',
128+
anchorYOffset: '0'
129129
});
130130
const text4 = docusignEsign.Text.constructFromObject({
131131
documentId: '1',
132132
tabLabel: 'JobTitle',
133133
anchorString: '/JobTitle/',
134134
anchorUnits: 'pixels',
135-
anchorXOffset: '20',
136-
anchorYOffset: '10'
135+
anchorXOffset: '0',
136+
anchorYOffset: '0'
137137
});
138138
const dateSigned = docusignEsign.DateSigned.constructFromObject({
139139
documentId: '1',
140140
tabLabel: 'DateSigned',
141141
anchorString: '/Date/',
142142
anchorUnits: 'pixels',
143-
anchorXOffset: '20',
144-
anchorYOffset: '10'
143+
anchorXOffset: '0',
144+
anchorYOffset: '0'
145145
});
146146

147147
// Tabs are set per recipient / signer

0 commit comments

Comments
 (0)