Platform: .Net 4.0, Aspose.PDF.dll Version: 9.2.1.0, OS: Windows 8
Attachments:
a. 2013_I-9.pdf (Issue 1): The fields I am trying to set are the first two fields in Page 7.
b. 2013_de4.pdf (Issue 2): The field I am trying to set is the first field on Page 1.
c. AsposeI9Errors.zip (Sample program. Provide your license file to bin\debug folder).
Issue 1: I am unable to save a PDF (2013_I-9.pdf) form with a value filled in.
if (field.FullName == "form1[0].#subform[6].FamilyName[0]")
//In Document 2013_I-9.pdf
{
field.Value = "Family Name";
}
if (field.FullName == "form1[0].#subform[6].GivenName[0]")
//In Document 2013_I-9.pdf
{
field.Value = "First Name";
}
Issue 2: I recently upgraded to version 9.2 and I started getting these errors when I am filling a value is a PDF form. (2013_DE4.pdf)
if (field.FullName == "Full Name")//In Document 2013_DE4.pdf
{
field.Value = "My Full Name";
}
line 17:83 mismatched character 'v' expecting '\n'
line 17:112 mismatched character 'e' expecting '\n'
line 17:87 no viable alternative at input 'B'