Hi I am a newbie to LC Designer...
I have used Table Using Assistant to create a table with "Body Rows Vary Depending On Data" with two buttons to "add" or "delete" row.
Whilst this works fine, but I don't know how to restrict the number of rows being add, so that the table and the content below it won't flow into another page.
Are there any ways to restrict the number of rows added by users?
Thank you!
Views
Replies
Total Likes
Hello,
You can restrict the addition of new rows into the table
by writing the script in Add button i.e if you dont require to add
rows more than 5 then,
if ( _Row1.count < 5 )
{
Table1.Row1.instanceManager.addInstance(1);
}
Thanks,
Debadas.
Views
Replies
Total Likes
You also can restrict occurence of the rows in the bindung tab.
Select the row and then set the max count for the row.
Views
Replies
Total Likes
Thanks Debadas! It works perfectly!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies