We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 005d561 + 9ae7304 commit 8c43e81Copy full SHA for 8c43e81
1 file changed
src/main/java/com/hellosign/sdk/resource/TemplateSignatureRequest.java
@@ -195,12 +195,13 @@ public void addCustomField(CustomField field) {
195
/**
196
* Adds the value to fill in for a custom field with the given field name.
197
*
198
- * @param fieldName String field name to be filled in
+ * @param fieldNameOrApiId String name (or "Field Label") of the custom field
199
+ * to be filled in. The "api_id" can also be used instead of the name.
200
* @param value String value
201
*/
- public void setCustomFieldValue(String fieldName, String value) {
202
+ public void setCustomFieldValue(String fieldNameOrApiId, String value) {
203
CustomField f = new CustomField();
- f.setName(fieldName);
204
+ f.setName(fieldNameOrApiId);
205
f.setValue(value);
206
customFields.add(f);
207
}
0 commit comments