Avatar

Level 10

Hi,

the data of the unnamed fields won't get saved in the data DOM, because of the missing namings.

You can easily check how the data DOM looks like.

Add a text field with this script in it's calculate event to show the data DOM's structure.

var dump = xfa.data.saveXML("pretty");

this.rawValue = dump;

You'll see something like:

<?xml version="1.0" encoding="UTF-8"?>

<xfa:data xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">

   <Form1>

      <Table1>

         <Row1>

            <quantity/>

            <unitPrice/>

         </Row1>

      </Table1>

   </Form1>

</xfa:data>