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

Free Support Forum - aspose.com

Not getting all fields in PDF forms


I have created a flat form with five fields.

I wanted to get all the fields from the pdf document. But it is showing only 4 fields. Below is the code. I am attaching the sample pdf file as well.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aspose.Pdf;
using Aspose.Pdf.InteractiveFeatures.Forms;

namespace ItirateFormFields
class Program
static void Main(string[] args)
Document pdfDocument = new Document(“sam.pdf”);
foreach (Field formField in pdfDocument.Form)
Console.WriteLine("Field Name : {0} ", formField.PartialName);
Console.WriteLine("Value : {0} ", formField.Value);

I am using Aspose.pdf 7.7.0 vesion.

I have gonethrough this link but this does not help me.

Waiting for support from the forum.

Hi vinay,

Thanks for your inquiry. Aspose.Pdf evaluation version has two limitations, evaluation watermark and at most four elements of any collection can be viewed. Please make a request for 30 days temporary license to evaluate our product without any limitation. Hopefully your issue will be resolved.

Please feel free to contact us for any further assistance.

Best Regards,


I have registered for the temporary license. But did not get it.

How much time it will take?


Vinay Singh

Hi Vinay,

I have asked my fellow worker to further look into the details of this issue. Soon you will be provided with the required resources. We are sorry for this delay and inconvenience.
Hi Vinay,

I sent the licence to your registered email address on the 12th of March, so it may be worthwhile checking your spam/ junk folders.

Please let me know if you haven’t received it yet.

Kind regards,