I'm trying to create a dynamic caption field that essential will make
the text fields look like a list. At first I searched on how to do this.
I eventually found a way to do it, and that is simply to to count how
many instances of the text field I have and set the caption value: var
curObject =
prospectus.page1.step1.ObjectivesSubform.Objectives.instanceManager.count;
prospectus.page1.step1.ObjectivesSubform.Objectives[curObject-1].Objective.caption.value.text.value
= concat(curObject, ":");And ...