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

Free Support Forum - aspose.com

Form fields in pdf (Trial-Version)

Currently I am evaluating your “Aspose.pdf”. The problems to be solved are related to FormFields. In a small test, i tried to iterate over all fields ina pdf. It seems, that my code can only find 4 fields, but how you can see in the pdf-File, there are 6 fields in the file. Is this a limitation of Trailversion or a bug?

Here is my Sourcecode (i am using Remobjects Oxygene)

method MainForm.Btn_pdf_Analyse_Click(sender: System.Object; e: System.EventArgs);
var S : String;
begin
var pdfdoc : Document := new Document(Edit_pdf_File.Text);
for F : Aspose.Pdf.Forms.Field in pdfdoc.Form do
begin
S := S + F.Value + ’ – ';
end;
MessageBox.Show(S);
end;
Pic1.JPG (4.9 KB)
dc_output.pdf (15.2 KB)

@HenryE,

Thanks for contacting support.

I have tested the scenario using latest release of Aspose.Pdf for .NET 17.6 where I have used a valid license file and as per my observations, all the form fields and their values are being retrieved. Please note that there are limitations when using the API in trial mode, so we recommend you to please request a 30 days temporary license.

Preview of console. PDF_Form_Field.PNG (14.5 KB)

Hello,
good to read that!
Many thanks