Hi,
I use a function in my scripting object to control my flowed, repeatable subforms.
Each subform contains a CheckBox
form structure:
page 1
mysubform 1 (flowed, repeatable subform)
CheckBox
mysubform 2 (instance number "2")
CheckBox
mysubform 3 (instance number "3")
CheckBox
...
mysubform n (instance number "n")
CheckBox
// click event on CheckBox
doProcessOnSubForm(this):
// scripting object
function doProcessOnSubForm(CheckBox){
var InstanceOfMysuborm = CheckBox.parent._mysubform;
console.println(InstanceOfMysuborm.count); // Outupt = 3, so I have 3 mysubforms
// make only instance number 2 invisible
InstanceOfMysuborm.SOMEmagicCODEtoGETitemNUMBER2.presence = "hidden";
}
does anyone has any idea how I can get the "item" number 2 of mysubform?
p.s. I am not looking for removeInstance ; )
Thank you