Expand my Community achievements bar.

Data in repeatable form rows not being saved

Avatar

Level 4

I may have posted this in the wrong forum.

I suspect I have a fairly simple problem with data binding that I simply cannot figure out.

I have two expandable tables that are functioning properly within the form. I use the instance manager to add/delete rows in the table, located in a form designed to be filled out by third parties then submitted for tabulation. These tables are located in Question 5 and the last question in Question 7.

Link to the form:  Dropbox - Survey Test Form.pdf

I have tested distribution and data associated only with the first instance is being collected in the response file.

Any help would be appreciated

5 Replies

Avatar

Level 10

Hi,

the reason might be the missing data binding of Row1 in each table.

Change its binding to "use Name" and check if it's working then.

Avatar

Level 4

I changed the binding to use name and it is still only saving the values entered in first instance.

Any additional ideas?


Avatar

Level 7

I looked at the XML output and it looks like the xml structure is incorrect. Note how AmendmentNo is repeated twice in the same parent tag.

<ContractTable>

    <Contracts>

        <HeaderRow xfa:dataNode="dataGroup"/>

        <AmendmentNo>1</AmendmentNo>

        <FederalContractNo>contract</FederalContractNo>

        <StateContractNo.>no</StateContractNo.>

        <AmendmentNo>2</AmendmentNo>

        <FederalContractNo>sec</FederalContractNo>

        <StateContractNo.>secno</StateContractNo.>

    </Contracts>

</ContractTable>

Avatar

Level 10

Hi,

that xml structure is correct as the Row1 object which surrounds the objects AmendmentNo, FederalContractNo and StateContractNo has currently no binding.

If you set it's binding the structure will change into:


<ContractTable>


  <Contracts>


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


       <Row1>


            <AmendmentNo>1</AmendmentNo>


            <FederalContractNo>AAA</FederalContractNo>


            <StateContractNo./>


       </Row1>


       <Row1>


            <AmendmentNo>2</AmendmentNo>


            <FederalContractNo>BBB</FederalContractNo>


            <StateContractNo./>


       </Row1>


       <Row1>


            <AmendmentNo>3</AmendmentNo>


            <FederalContractNo>CCC</FederalContractNo>


            <StateContractNo./>


       </Row1>


  </Contracts>                   


</ContractTable>


    

Things that should be changed:

Row1 needs a binding.

The naming of StateContractNo. should not contain a dot!

The binding for the HeaderRow is superfluous.

Avatar

Level 4

radzmar:

I did the following:

  1. Changed binding in Row1 to Use name (Row1)
  2. Changed StateContractNo. to StateContractNo
  3. Changed binding for the HeaderRow to No Data Binding.

Still not capturing anything but the first instance.