Hello, I am looking for clarity around what characters are allowed in FormElement names, as I've been encountering issues with certain characters (square brackets and periods specifically).
If I add a TextField element to a MergeDocument with the name "S3.1", I get an exception when I attempt to render the PDF with the Draw() method saying "Form Field with the same name already exists."
Short example:
var documentBytes = File.ReadAllBytes("C:\test\test.pdf");
var pdf = new MergeDocument(documentBytes);
var textField = new TextField("S3.1", 10, 10, 50, 20)
{
DefaultValue = "testvalue"
};
pdf.Pages[0].Elements.Add(textField);
var newPdf = pdf.Draw(); // generates an exception