Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Problem with nested form in repeating page.

Avatar

Level 1

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

Level 6

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