These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Repeating subforms and initial count

R_Boyd
Registered: Nov 1 2007
Posts: 151

I have a problem with this in Designer 7.0. Whilst Designer 7 allows me to specify a minimum count for the instances of a repeating subform, it won't allow me to specify an [i]initial[/i] count.

This causes problems because if I specify a minimum count of 3 it means users can't delete the 3 initial rows.

I tried to get around this by putting the addInstance script in formReady and Initialise events but that created all manner of mayhem in one case causing Designer to crash!

Any suggestions for a workaround?

My Product Information:
LiveCycle Designer, Windows
beachbumbali11
Registered: Mar 5 2008
Posts: 74
I belive you can solve this problem by setting the minnimun occurence for the subform to whatever you want in the java script consule leave the minimum occurence in the binding tab but while the sb form is selected use the javascript editor under initialize java script add this
this.occur.min="0";
and then you can start with a minimum occurence of the number in the binding tab but can remove all instances if you like i prefer 0 since if i make a mistake filling in one field i simply delet the whole whole field and start again but use 1 or two makes no difference