Adds a new instance of a subform
or subform set to the form model.
SyntaxReference_Syntax.addInstance( BOOLEAN param )
Parameters
param (Optional)
|
Indicates if the new subform or subform
set has a corresponding data value in the data model.
true | 1 (JavaScript) or 1 (FormCalc)(default)
Merge the new subform or subform set with the data model.
false | 0 (JavaScript) or 0 (FormCalc)
Do not perform a merge operation.
|
ReturnsThe
new form object, or null if no object was added.
JavaScriptSubform1.instanceManager.addInstance(1);
FormCalcSubform1.instanceManager.addInstance(1)
|
|
|