Need help on repeat lines of the table and the subform

I hope someone can help me find a way to accomplish things with a subform of repeating table in a form I'm building.  I have attached the file here.

https://workspaces.Acrobat.com/?d=2nUNZuTf2T4tsdSykMTlXw

I have a table (AssessChart1Table) set up on pg 7 (analysis) and built in buttons (AddRowAssesChart1 and DeleteRowAssesChart1) so that the user can add or remove rows of additional data according to the needs.

The problem is that the user enters also cross the line header (AssessChart1HeaderRow1) in this data table.  There are 10 available columns; However, they will have to add more data than that. Therefore, I made a button (AddMoreCourses) for the user to click on to add another instance of the subform table (AssessEvalChart1) and also to cancel adding the subform with this button (UndoAddMoreCourses).

In addition, I setup that whatever data the user enters in the cell of this table cell (Prog-DeptObjChart1) are automatically transferred to another table (AssessChart2Table), cell (Prog-DeptObjChart2), which is located on the next page (AnalysisCont1).

All above works very well except that whenever the user presses the button (AddMoreCourses) I don't want it to automatically fill cells of text field that are copied from (AssesChart1HeaderRow3) because I need the user to be able to enter different values rather than add more columns to fit their data.  In addition, I would like that the values of the cells in the left column to repeat well because these values will not change. Currently the values of the cells in the left column that wear down (AssessChart2Table) to get stripped on (AssessChart2Table) whenever I the user pushes button Add more courses or cancel add more courses.

In summary, the tables would look like the attached screenshots:

Analysis_-_Assement_Chart_1.png:Analysis_-_Assess_Chart_2.png

Any help would be highly appreciated.  I'm not experienced with Livecycle Designer.  The form I built by reading the forums and the examples.

Where you need it, I use Livecycle Designer v. 9.0.0.2.20120627.2.874785 on a Windows 7 Pro platform.

Thank you!

They will need to copy in a similar way as with the other lines. I would say on the exit event for the field of Prog-DeptObjChart1, add the code that copies the rawValue of him in the second table. Your code has something there now, but it does take into account that there will be multiple instances of the same line.

Thus, in the constructor of your action, add another result to the condition of AddRowAssessChart1.click: Add a new instance of AssessChart2Row1.

Then exit to Prog-DeptObjChart1 in the event, add this code.

xfa.resolveNode ("AnalysisCont1.AssessEvalChart2.AssessChart2Table.AssessChart2Row1 [" + this. "]") parent.index +"]. Prog-DeptObjChart2") .rawValue = this.rawValue;

Now when you exit the field you typed in, the text is copied in paragraph2.

Tags: Adobe LiveCycle

Similar Questions

Maybe you are looking for