Search for objects that are part of a subcontainer

You can use two dots at any point in your reference syntax to search for objects that are a part of any subcontainer of the current container object, such as a subform.

You can use the ‘..’ (double period) syntax with JavaScript if it used with the resolveNode method.

Notation

..

Example

The expressionSubform_Page..Subform2means locate the nodeSubform_Page(as usual) and find a descendant ofSubform_PagecalledSubform2.

Using the example tree above,

Subform_Page..TextField2 

is equivalent to

Subform_Page.Subform1[0].Subform3.TextField2[0]

becauseTextField2[0]is in the firstSubform1node that FormCalc encounters on its search. As a second example,

Subform_Page..Subform3[*]

returns all fourTextField2objects.

// Ethnio survey code removed