Ok so I found a neat way to dynamically extend the amount of rows offered in a table. Everything works well, I have a footer that counts the rows, sums another column.
Reference:
http://www.adobe.com/devnet/livecycle/articles/AddingRemovingTableRows.pdf
But...when I goto add more than seven rows to the table...nothing happens. Now the coding example I found handles this. My problem is I definitely want more then seven rows. What am I missing?
FYI - I looked at the scripting code for this particular constraint and bumped the count. Nothing effects it.
http://livedocs.adobe.com/livecycle/8.2/acrobat_designer/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Adobe_LiveCycle_Designer_Help&file=000380.phpEverything works and behaves as expected. I do have another question now. I would like to use the xfa.host.setFocus() function focus the user on a dynamically created cell. I tried: xfa.host.setFocus(table1.row1.description);
This partially works, it focuses on the first text field and not the new text field created. So I tried:
xfa.host.setFocus(table1.row1[*].description);
That does not work. Any ideas on how to reference the dynamically created fields?