Expand my Community achievements bar.

Problem with nested form in repeating page.

Avatar

Former Community Member

Problem with nested form in repating page.

Hello,

I have a problem with adobe livecycle, I cannot retrieve my full nested form which is copied inside another page.

My xml architecture is :

<Qsts>

          <qst>

                    <libelle>...</libelle>

                    <reps>

                              <rep>

                                        <libelle>...</libelle>

                                        <isCoche>...</isCoche>

                              </rep>

                              <rep>

                                        <libelle>...</libelle>

                                        <isCoche>...</isCoche>

                              </rep>

                    </reps>

          </qst>

          <qst>

                    <libelle>...</libelle>

                    <reps>

                              <rep>

                                        <libelle>...</libelle>

                                        <isCoche>...</isCoche>

                              </rep>

                              <rep>

                                        <libelle>...</libelle>

                                        <isCoche>...</isCoche>

                              </rep>

                              <rep>

                                        <libelle>...</libelle>

                                        <isCoche>...</isCoche>

                              </rep>

                    </reps>

          </qst>

          <qst>

</Qsts>

In adobe live cycle with binding :

http://img827.imageshack.us/img827/2537/formarchitecture.png

http://img507.imageshack.us/img507/8518/bindinqsts.pnghttp://img267.imageshack.us/img267/2570/repsm.png

In Initialize Questions and Reps SubForm :

this._Reps.setInstances(LIC1.Besoin.Questions._Reps.count);

For each initialize Questions and Reps SubForm properties :

this.rawValue = xfa.form.resolveNode(this.somExpression.replace("LIC3","LIC1")).rawValue;

My problem is in Reps Subform , I retrieve a collection with just two items of "Reps" for all which is the first Reps item in the collection.

How to retrieve an exact count of items 'rep' for each 'Reps' ?

Thx (sorry for my poor english, i'm french)

1 Reply

Avatar

Former Community Member

I believe you will need to loop through all the qst and add up the separate reps collections.