Avatar

Correct answer by
Level 5

Hi Nikhil,

Please refer below script it would help you...

You need to insert below script on the click event of the button...

form1.Page1.Table1.Row3.instanceManager.addInstance (true);

var countVal = (form1.Page1.Table1.Row3.instanceManager.count - 1);

xfa.resolveNode("form1.Page1.Table1.Row3["+countVal+"].TextField1").access = "open";

xfa.resolveNode("form1.Page1.Table1.Row3["+countVal+"].TextField2").access = "open";

xfa.resolveNode("form1.Page1.Table1.Row3["+countVal+"].TextField3").access = "open";

This is how my table looks.


Script1.png

If it doesnt work please let me know vl share the file.

Thanks

Vijay

    

View solution in original post