When I try to run the example https://github.com/aspose-pdf/Aspose.Pdf-for-Cloud/blob/master/Examples/Node.js/Document/SignPdfDoc.js it fails because it says the Signature1 field is not found in the sample file sample-input.pdf.
When I run the example Examples/Node.js/Form-Fields/GetAllFields.js it confirms that the file has no form fields at all.
So now I’m trying to run the example Examples/Node.js/Form-Fields/CreateField.js to add a signature field (named ‘Signature1’) to the sample file and I can’t find the correct field type for this. I’ve tried ‘Signature’ and ‘SignatureField’ but I get: “Error: The name ‘Signature1’ doesn’t represent valid signature field or signature field is not empty”
Could you provide a valid JSON fieldBody object for this example to create a signature field please.