I want to Create embedded Hello Sign signature document with Custom fields, but without using a Template. Is there any way to do it?
The case is, I have to get the signature on one dynamic system generated document. So can't use existing default template and have to use file instead of it. But On the generated document I require one field like Customer Name - Which is a text box, but pre-filled by signer name and customer change that text box value as per his choice before signing the document. I have tried all the things like using custom fields (but it is not allowing without using pre-defined template), FormFieldsPerDocument (it is providing the text box but not allowing to set value before generating the signature document), texttags, etc.
Here is my code snippets for the implementation
// Create embedded signature request
var request = new SignatureRequest();
request.Title = "Hello Sign Embedded Signature Document";
request.Message = strDocumentName;
request.AddSigner(signerEmail, signerName);
request.AddFile(pdfBytes, documentName);
request.FormFieldsPerDocument = lstFormFields;
request.Metadata.Add("custom_id", "1234");
request.Metadata.Add("custom_text", signerName);
request.UseTextTags = true;
request.TestMode = true;
CustomField objCustomerField = new CustomField();
objCustomerField.ApiId = "45";
objCustomerField.Editor = "Client";
objCustomerField.Type = "text";
objCustomerField.Value = "Raj Sharma";
objCustomerField.Required = true;
objCustomerField.X = 350;
objCustomerField.Y = 600;
request.CustomFields.Add(objCustomerField);
var response = client.CreateEmbeddedSignatureRequest(request, HelloSignAPIClientId);
I have tried all the possible ways from the API documentation but not able to reach to the proper solution. Please provide me a way if its possible to deal with this situation by any other method or draw my attention if I am making any mistake in this coding snippet.