- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
stvmjones- i know this is old, but have you found a solution to what you needed? If not, you can use "setInstance" to achieve what you're looking for:
Place the following script on Exit event of the field that will carry the number of subform instances you desire to create (note, you will have to update the paths to match your form layout):
xfa.layout.relayout();
//Retrive instance count number
var vCount = Page1.TextField.rawValue;
//Set subform instance count per number indicated
Page1.Subform._Group.setInstances(vCount);
In this example, you would start with a Min and Initial count of 1 following jasotastic81 instructions (items 5 and 6).
Hope this helps you or someone else!
Views
Replies
0 Likes
Total Likes