I made my first steps with LiveCycle Designer ES2 and tried to create a form containing some tables and nested tables. In the "standard" tables I managed to add lines using Java Script in this way:
rowNum = this.parent.parent.index + 1;
I also managed to remove them in a similar way. The button "btnAdd" is inside a form in the last cell of each row.
Now I tried the same for nested tables:
rowNum = this.parent.parent.index;
rowNum = rowNum +1;
It does not work at all, but I have no idea why. I tried to find a solution here... without success. I also tried to put the nested table "tblTeilnehmer" in a form first, with the same result.
How can I add more rows like "Zeile1" in the nested table, using Java Script?
Solved! Go to Solution.
Is it possible for you to upload your form somewhere, like google docs or whatever and post a link. It should be easy enough but will depend on the structure of your particular form.
thank you for your feedback. An example is available here: https://file.town/download/rl5pfnghtxumd47la6uxzymqj
I am really curious for the solution, as I tried lots of different variants...
Can you explain how you added rows to your table? I think this is what you were explaining you accomplished.
I am on adobe acrobat pro and am making an editable document. This is the results section pictured below. I want to make it so that I can choose how many results lines are in the document because in some cases there is only 1 result and in others there are 5. Is there a way to have a + button that allows the user to add as many result lines as needed?