Hi,
It appears you have changed the second AddListItem() method call to pass only one element of the string array strItem(). I intend for the second call to pass BOTH elements of the array so that the second element ("test2") becomes the export value for the drop down list.
The first method call is just to illustrate that it does work for the non export value overload.
Try this code snippet:
FormEditor pdfe = new FormEditor(@"C:\Temp\2k3\test\test\testin.pdf", @"C:\Temp\2k3\test\test\testout_2.pdf");
String[] strItem ={ "test", "test2" };
pdfe.AddListItem(@"form1[0].#subform[1].UT_855_Unit_Material[0]", strItem[1]);
pdfe.AddListItem(@"form1[0].#subform[1].UT_855_Unit_PackageType[0]", strItem);
pdfe.Save();
Thanks
Bill