We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

FormEditor.AddListItem throwing error


I am trying to add items to combobox in the pdf. I am using the below code.

FormEditor formEditor = new FormEditor(sourcepath, destinationpath);

formEditor.AddListItem("form1[0].P1[0].Request[0].Section1[0].PositionType[0]", new string[] { "Manager", "Manager" });

I am getting Object Reference not set to an instance of an object error.

I have attached the sample pdf. Please refer it and let me know the solution ASAP.



Hi Ganesh,<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif””>

have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged it in our issue tracking system as <span style=“font-family:“Arial”,“sans-serif””>PDFNEWNET-31304. We
will investigate this issue in details and will keep you updated on the status
of a correction.<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif””><span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif””>

apologize for your inconvenience.

The issues you have found earlier (filed as 31304) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.