- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
If you renamed your rows to Row1, then you can put this condition before all of the actions you do when you add the subform instance
if (subform.instanceManager.count <= this.parent.index) {
subform.instanceManager.addInstance();
//and whatever else
}
Now, you might notice that the user can just go to the bottom and start swapping back and forth creating instances. If someone wants to be "that guy" then they still get stopped once they reach the sixth instance of the subforms. There's not a way to remove them in your current form, so you might consider a little button in the top right corner of the subform to do that, but then there's other confusion involved since the Gender in each row seems to make a difference.
Views
Replies
Total Likes