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

Free Support Forum - aspose.com

Checkboxes in PDF are getting checked incorrectly

Hi,

We are using Aspose for on the fly PDF generation. The PDF files we generate are to be prefilled with ceratin values( and check boxes are also to be ticked based on values we pass). We use XFDF for populating the pdf fileds. When we render the XFDF in the browser, the checkboxes are getting ticked(selected) correctly. But when we render the PDF after prefilling it with XFDF data using Aspose, the checkboxes are are not getting ticked (selected) properly. We are using Aspose 8.3.3 version. Kindly let us know whether this issue has already been addressed. If yes let us know the solution for this issue.

EDIT :

Also tried using Aspose 8.9.0.0 version. Still the issue persists. Kindly help us in resolving this issue.

Kindly reply to us asap. We are in urgent need of solution for this issue.

Regards,

kishorekumar.

Hi Kishore,


Thanks for your inquiry. Please share your sample code and XFDF data, so we will test the scenario at our end and will provide you information accordingly.

We are sorry for the inconvenience caused.

Best Regards,

Hi,

I am from Kishore team. We are using following method to import xfdf.

Aspose.Pdf.Facades.Form form = new Aspose.Pdf.Facades.Form(pdfstream);

form.ImportXfdf(xfdfstream);

form.Save(objnewpdfstream);

Attach is the sample xfdf and the prefil form. Please let us know the resolution

Hi Vinay,


Thanks for sharing your XFDF data. Please also share your source PDF document, so will look into the issue and suggest accordingly.

Best Regards,

please find the attached document

Hi,

Any updates on the issue. Any possible solution for this issue?

Regards,

kishorekumar.

Hi Tital,

Do we have any update on this

Thanks & Regards,

Vinay

Hi Vinay,


We are sorry for the inconvenience. We have noticed the problem and tried a workaround to resolve the issue but it did not work. So we have logged an investigation ticket as PDFNEWNET-36969 for further investigation and resolution. We will keep you updated about the issue resolution progress.

Best Regards,

Hi Tilal,

Any updates on the issue?. Kindly let us know the solution for this issue.

Regards,

Kishorekumar

Hi Vinay,


Thanks
for your patience.
<o:p></o:p>

As we recently have been able to notice this issue, so development team requires little time to investigate and figure out the reasons of this problem. Nevertheless, as soon as we have made some definite progress towards its resolution, we would be more than happy to update you with the status of correction.

My humble request is to please be patient and spare us little time.

Hi,

Do we have any updates on this issue ?

Thanks.

Vinay

Hi Vinay,


Thanks for your patience.

The development team has been busy resolving
other priority issues and I am afraid the above stated problem is not yet
resolved. Nevertheless, as soon as we have some updates regarding its resolution, we would be more than happy to update you with the status of correction. Please be
patient and spare us little time.
<o:p></o:p>

We are sorry for this delay
and inconvenience

Hi Vinay,


Thanks for your inquiry. I am afraid your issue is still pending for investigation due to other priority tasks. As soon as our development team completes the investigation of your reported issue, we will share an ETA with you.

Thanks for your patience and cooperation.

Best Regards,

Hi,

Do we have any update on this. We have this issue in production and we need to resolve as soon as possible.

Regards,

Vinay parekh

Hi Vinay,


Thanks for your inquiry. I am afraid you issue is still not investigated as development team is busy in other priority tasks. We schedule issue investigation and resolution on first come first serve basis. We feel this is the fairest and most appropriate way to satisfy the needs of the majority of our customers.

However, we have recorded your concern and requested the development team to investigate and share an ETA at their earliest. We will update you as soon as we get a feedback.

Thanks for your patience and cooperation.

Best Regards,

Hi,

Can we have the ETA.

Regards,

Vinay Parekh.

Hi Vinay,


Thanks for your inquiry. I am afraid our development team is busy in fixing other priority issues and your reported issue is still not investigated. We will share an ETA as soon as its investigation is completed.

Thanks for your patience and cooperation.

Best Regards,

Hi Vinay,


Thanks for your patience. We have tested your scenario again with latest version of Aspose.Pdf for .NET 9.3.0 and found that import of checkboxes has been fixed. For testing purpose, we have filled your sample document, exported the XFDF data and the imported the exported XFDF data back. Please check sample code snippet for the purpose. Hopefully it will help you to resolve the issue.

//export sample
xfdf data file.
<o:p></o:p>

Aspose.Pdf.Facades.Form form = new Aspose.Pdf.Facades.Form();

form.BindPdf(myDir + "123_fill.pdf");

System.IO.FileStream xfdfOutputStream = new FileStream(myDir+"36969.xfdf",

FileMode.Create, FileAccess.Write);

form.ExportXfdf(xfdfOutputStream);

xfdfOutputStream.Close();

//open xfdf file.

//import data

Aspose.Pdf.Facades.Form form1 = new Aspose.Pdf.Facades.Form();

form1.BindPdf(myDir + "123.pdf");

System.IO.FileStream xfdfInputStream = new FileStream(myDir+"36969.xfdf",

FileMode.Open);

form1.ImportXfdf(xfdfInputStream);

//close file stream

xfdfInputStream.Close();

//save updated document

form.Save(myDir+"36969-1_9.3.pdf");

Please feel free to contact us for any further assistance.


Best Regards,

Hi,

Can we have ETA please.

Regards,

Vinay Parekh

Hi Vinay,


Thanks for your inquiry. As stated above your reported issue is fixed in Aspose.Pdf for .NET 9.3.0. Please download and try latest version of Aspose.Pdf for .NET, it will resolve the issue.

Please feel free to contact us for any further assistance.

Best Regards,