XFA Form | Dynamic rows in a grid are not getting fetched

I am trying to fill a XFA form using aspose library. I could fill up all the fields except the dynamic rows in the grids. The Form.XFA.FieldNames object only return first row even if there are more rows in the grid. Refer the MillitaryService section in the attached XFA form.IMM5257B_1.pdf (532.6 KB)

@Abha07,

Can you share the code snippet you are using?

@carlos.molina, I am using below code.

         // Load XFA form
        Document doc = new Document(@"E:\PDF\Testing.pdf");

        // Get names of XFA form fields
        string[] names = doc.Form.XFA.FieldNames;

        // Set field values
        doc.Form.XFA[names[34]] = "Field 0";
        doc.Form.XFA[names[35]] = "Field 1";
        .
        .
        .
        //filling all the fields like so
        
        // Save the updated document
        doc.Save(@"E:\PDF\IMM5257B_1_aspose.pdf");

@Abha07,

I have been testing this and I think it is a bug. I will create a ticket for the dev team.

@Abha07
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-53950

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.