Thanks. Somehow I missed the flowed setting on the main form. That's what did it.
I'm curious to understand a little bit more about the instances though. My code doesn't work exactly like I want it too. I would like to start with initial count = 0 but I couldn't get that to work correctly. I tried changing the code to:
if (this.rawValue == 0)
{
form1.Page2._sfPhone.instanceManager.setInstances(1);
form1.Page2.sfPhone.presence ="hidden";
}
else
{
form1.Page2.sfPhone.presence="visible";
form1.Page2._sfPhone.instanceManager.setInstances(1);
form1.Page2.sfPhone.instanceManager.setInstances(this.rawValue);
}
But this didn't work for me either.
Thanks
Joe