Sorry if this has been answered or has some obvious answer that has avoided me but i have been searching and havent found the answer
Simply
subform with added instances in the heading section just want to know how many subforms they added
subform guests allows user to add guest info all i want is a box that shows the total number of guests.
Should i be trying to count the subform or would it be easier to count the number of a single text field in the subform?
Like i said there has to be a simple answer using formcalc but it has been avioding me
Any ideas greatly appreciated
You could take a look at this Help topic: Scripting > Scripting Using LiveCycle Designer ES > Examples of Common Scripting Tasks > Using the properties of the instance manager to control subformsSpcifically the count property of subforms is what you need to use to get the count of repeated subforms.
Let me know if that doesn't help. We used to have samples showing how to do this on the Adobe Developer Center (www.adobe.com/devnet/livecycle) but typically I can't find them at the moment.
- Alex