Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Dynamic Table

$
0
0

I want to add a row in a table based upon Number given in a textfield, eg- if 5 is given 5 rows must be added,again if some other no. is given then that many rows only should be present + if no. is greater than the previous then those rows should be retained so that user dont have to write again , please suggest something. i have kept the row in a subform and i am able to get the result for 1st time but when changing the value desired reult is not obtained

 

for (var i = val; i>1 ;i--)

   {

     _test.removeInstance(i-1);

   }

this is the simple code used,i am not able to use it with right condition i guess.


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>