Create an Expanding Table with Row Labels in Adobe Livecycle®

preview_player
Показать описание
video response to a question posted on this blog about automatically adding row labels. In it I demonstrate how to write the javascript and configure the table in a dynamic pdf.

Рекомендации по теме
Комментарии
Автор

Great Explanation. Thanks a lot! Need your help. I need to print same table twice on the same page. I am using the same data binding in both the tables. The entries are not populated in the second table. What should I do

shivamvasudeva
Автор

You videos have helped me create great forms. I am however having a problem with this one. I have used your script to add special row labels as C1, C2, C3 etc. but when I run the form I get C1 and then C2 but after that when I press + it simply repeats C2??

jmenterprises
Автор

Great videos! They've been very helpful in getting me to the point of creating an expanding table, adding calculations to the table, but now I'm stuck on this video.  Specifically, the variables/functions step.  I've tried adding my own variable through the Form Properties dialog box, but it is not working.  The row labels I'm trying to add are; 0001, 0002, 0003, etc.  Any help is appreciated!

rachlmh
Автор

OK this is great. What if I want to insert a row in a specific location or insert a row in a specific location..  What I am getting is a row added to the end of the table or the first row deleted.

Dan
Автор

Your videos have helped me out a lot. I had this same problem for a project I am working. However, the math and computer science guy in me wanted to get this to work without creating the long list. I hope this helps.

function convertNum(rowNum) {

var letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
if (rowNum/26 < 1) { // if it only needs one letter
letterValue = letters[rowNum];
}
else // it needs two letters
{
letter1 = // integer division
letter2 = letters[rowNum%26]; // modulus
letterValue = letter1+letter2;
}
return letterValue;
}

EDIT: This only works to ZZ (702 rows), and after that it breaks.

jimmcshea
Автор

This process has some issue that post adding lines say 1, 2, 3, 4 &5 and A, B, C, D&E sequences does gets auto changed once we delete anything in between. if we delete 3 then seq will be 1, 2, 4 &5 and A, B, D&E

rakesh