@@ -95,38 +95,38 @@ def make_web_forms_template
95
95
# Create a sign_here tab (field on the document)
96
96
sign_here = DocuSign_eSign ::SignHere . new (
97
97
'documentId' => '1' , 'tabLabel' => 'Signature' ,
98
- 'anchorString' => '/SignHere/' , 'anchorUnits' => 'pixel ' ,
99
- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
98
+ 'anchorString' => '/SignHere/' , 'anchorUnits' => 'pixels ' ,
99
+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
100
100
)
101
101
check = DocuSign_eSign ::Checkbox . new (
102
102
'documentId' => '1' , 'tabLabel' => 'Yes' ,
103
- 'anchorString' => '/SMS/' , 'anchorUnits' => 'pixel ' ,
104
- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
103
+ 'anchorString' => '/SMS/' , 'anchorUnits' => 'pixels ' ,
104
+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
105
105
)
106
106
text1 = DocuSign_eSign ::Text . new (
107
107
'documentId' => '1' , 'tabLabel' => 'FullName' ,
108
- 'anchorString' => '/FullName/' , 'anchorUnits' => 'pixel ' ,
109
- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
108
+ 'anchorString' => '/FullName/' , 'anchorUnits' => 'pixels ' ,
109
+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
110
110
)
111
111
text2 = DocuSign_eSign ::Text . new (
112
112
'documentId' => '1' , 'tabLabel' => 'PhoneNumber' ,
113
- 'anchorString' => '/PhoneNumber/' , 'anchorUnits' => 'pixel ' ,
114
- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
113
+ 'anchorString' => '/PhoneNumber/' , 'anchorUnits' => 'pixels ' ,
114
+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
115
115
)
116
116
text3 = DocuSign_eSign ::Text . new (
117
117
'documentId' => '1' , 'tabLabel' => 'Company' ,
118
- 'anchorString' => '/Company/' , 'anchorUnits' => 'pixel ' ,
119
- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
118
+ 'anchorString' => '/Company/' , 'anchorUnits' => 'pixels ' ,
119
+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
120
120
)
121
121
text4 = DocuSign_eSign ::Text . new (
122
122
'documentId' => '1' , 'tabLabel' => 'JobTitle' ,
123
- 'anchorString' => '/JobTitle/' , 'anchorUnits' => 'pixel ' ,
124
- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
123
+ 'anchorString' => '/JobTitle/' , 'anchorUnits' => 'pixels ' ,
124
+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
125
125
)
126
126
date_signed = DocuSign_eSign ::DateSigned . new (
127
127
'documentId' => '1' , 'tabLabel' => 'DateSigned' ,
128
- 'anchorString' => '/Date/' , 'anchorUnits' => 'pixel ' ,
129
- 'anchorXOffset' => '20 ' , 'anchorYOffset' => '10 '
128
+ 'anchorString' => '/Date/' , 'anchorUnits' => 'pixels ' ,
129
+ 'anchorXOffset' => '0 ' , 'anchorYOffset' => '0 '
130
130
)
131
131
132
132
# Add the tabs model to the signer
@@ -139,7 +139,7 @@ def make_web_forms_template
139
139
)
140
140
# Create top two objects
141
141
envelope_template_definition = DocuSign_eSign ::EnvelopeTemplate . new (
142
- 'description' => 'Example template created via the API' ,
142
+ 'description' => 'Example template created via the eSignature API' ,
143
143
'shared' => 'false'
144
144
)
145
145
0 commit comments