Hi ,
I have a text field in my form which will contains a numeric value.Based on this value i have to show those many text fields to enter the name.
I have tried this code by keeping the texfield in a sub form and try to display subform using instance manager .see the below script.
Textfield.NewState.presence="visible";
var oSubform = xfa.resolveNode("form1.Page1.Textfield");
oSubform.instanceManager.setInstances(3);
form1.Page1.Textfield.instanceManager.addInstance();
but this code is not working.
Please help me!!
Thanks in advance
bharathi.