cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Repeating Subform bnot displaying

former_member82844
Participant
0 Kudos

I have a reapting subform but when I use the addInstance or InsertInstance, it is not adding a row onto the screen. I can see from the instanceManager.count that the number of rows has increaes but they are not visible.

The Hierarchy is:

CreateMaterialForm - Subform Flowed, top to bottom binding: $record.MaterialNode

==== ClassificationForm - Subform Flowed, top to bottom binding: CLASS

======== ClassLevelForm - Subform Flowed, top to bottom , Repeat Subform, Min count 1 binding: CLASSTAB[*]

============ ClassLevelValue - Text Field binding: VALUE

I only ever have the first row regardless of how many rows I add to the data structure at run time. If I start the table with Min of 5, then the rows will be displayed as I add them to the data table.

How do I get the subform to expand to display the additional rows? I have even tried placing a Button where the click event I did the AddInstance and sthat still did not add more visible rows. It added rows according to the instanceManager.count.

NWDS 7.0.19

Live Cycle 8.01

Glenn

Accepted Solutions (1)

Accepted Solutions (1)

former_member82844
Participant
0 Kudos

My Form Hierarchy is:

The Hierarchy is:

CreateMaterialForm - Subform Flowed, top to bottom binding: $record.MaterialNode

==== ClassificationForm - Subform Flowed, top to bottom binding: CLASS

======== ClassLevelForm - Subform Flowed, top to bottom , Repeat Subform, Min count 1 binding: CLASSTAB[*]

============ ClassLevelValue - Text Field binding: VALUE

The Data nodes are set up correctly. If I set the Min count from 1 to 5, it will show the five records I add to the the table otherwise it only shows the first row in the table.

Basically, something is stopping the ClassificationForm from expanding to contain all the ClassLevelForm rows at run time.

Glenn

Former Member
0 Kudos

Hi Glenn,

Have you set the dynamic property of the form true?

Please write the following code in wddoModifyView mthod of the view:

if(firstTime) {

IWDInteractiveForm iForm = (IWDInteractiveForm)view.getElement("YOUR_FORM");

iForm.setDynamicPDF(true);

}

Also do the following:

In Adobe LiveCycle Designer 7.1 you can discover whether your adobe form was created as dynamic. Open your created pdf file in LiveCycle Designer. Menu File -> Form Properties -> tab Compatibility, Form Type. There must be Acrobat 7.x Dynamic PDF Form File.

Hope this helps.

Amit

Edited by: Amit on Oct 28, 2009 8:43 AM

Answers (2)

Answers (2)

former_member82844
Participant
0 Kudos

Thanks, that did the trick...... I am not sure why thaqt information is not posted in an easier location to find.

Glenn

former_member214651
Active Contributor
0 Kudos

Hi Glenn,

Please check if the layout of the subform is FlowContent or PositionContent and also check the "Repeat Subform for each value" property of the inner most subform. Also check the cardinality of the Node which gives the values to the subform.

The Layout design for the flowing data is:

-


Parent Subform (Flow Content, direction->Table)

-


Child Subform (Flow Content, direction -> TableRow)

Regards,

Poojith MV