Skip to content

Commit d877ba5

Browse files
authored
Merge pull request #186 from docusign/DEVDOCS-15443
DEVDOCS-15443 - updating the template for Web Forms to adjust tabs positions a bit better
2 parents 90876ba + 41cb27c commit d877ba5

File tree

3 files changed

+15
-619
lines changed

3 files changed

+15
-619
lines changed

launcher-csharp/WebForms/Examples/CreateAndEmbedFormService.cs

+13-13
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ public static EnvelopeTemplate PrepareEnvelopeTemplate(string resultsTemplateNam
128128
TabLabel = "Yes",
129129
AnchorString = "/SMS/",
130130
AnchorUnits = "pixels",
131-
AnchorXOffset = "20",
132-
AnchorYOffset = "10",
131+
AnchorXOffset = "0",
132+
AnchorYOffset = "0",
133133
},
134134
},
135135
SignHereTabs = new List<SignHere>
@@ -152,35 +152,35 @@ public static EnvelopeTemplate PrepareEnvelopeTemplate(string resultsTemplateNam
152152
TabLabel = "FullName",
153153
AnchorString = "/FullName/",
154154
AnchorUnits = "pixels",
155-
AnchorXOffset = "20",
156-
AnchorYOffset = "10",
155+
AnchorXOffset = "0",
156+
AnchorYOffset = "0",
157157
},
158158
new Text()
159159
{
160160
DocumentId = "1",
161161
TabLabel = "PhoneNumber",
162162
AnchorString = "/PhoneNumber/",
163163
AnchorUnits = "pixels",
164-
AnchorXOffset = "20",
165-
AnchorYOffset = "10",
164+
AnchorXOffset = "0",
165+
AnchorYOffset = "0",
166166
},
167167
new Text()
168168
{
169169
DocumentId = "1",
170170
TabLabel = "Company",
171171
AnchorString = "/Company/",
172172
AnchorUnits = "pixels",
173-
AnchorXOffset = "20",
174-
AnchorYOffset = "10",
173+
AnchorXOffset = "0",
174+
AnchorYOffset = "0",
175175
},
176176
new Text()
177177
{
178178
DocumentId = "1",
179179
TabLabel = "JobTitle",
180180
AnchorString = "/Title/",
181181
AnchorUnits = "pixels",
182-
AnchorXOffset = "20",
183-
AnchorYOffset = "10",
182+
AnchorXOffset = "0",
183+
AnchorYOffset = "0",
184184
},
185185
},
186186
DateSignedTabs = new List<DateSigned>
@@ -191,8 +191,8 @@ public static EnvelopeTemplate PrepareEnvelopeTemplate(string resultsTemplateNam
191191
TabLabel = "DateSigned",
192192
AnchorString = "/Date/",
193193
AnchorUnits = "pixels",
194-
AnchorXOffset = "20",
195-
AnchorYOffset = "10",
194+
AnchorXOffset = "0",
195+
AnchorYOffset = "0",
196196
},
197197
},
198198
};
@@ -204,7 +204,7 @@ public static EnvelopeTemplate PrepareEnvelopeTemplate(string resultsTemplateNam
204204

205205
return new EnvelopeTemplate()
206206
{
207-
Description = "Example template created via the API",
207+
Description = "Example template created via the eSignature API",
208208
Name = resultsTemplateName,
209209
Shared = "false",
210210
Documents = new List<Document> { document },

launcher-csharp/WebForms/Views/CreateAndEmbedForm/Embed.cshtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<body>
1212
<div id="app">
1313
<div id="webform-customer-app-area">
14-
<h5 id="webforms-heading">The web form has been embedded below using the DocuSign.js library.</h5>
14+
<h5 id="webforms-heading">The web form has been embedded below using the Docusign JS library.</h5>
1515
<div id="docusign" class="webform-iframe-container">
1616
<p>Web Form will render here</p>
1717
</div>

launcher-csharp/web-form-config.json

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

0 commit comments

Comments
 (0)