How to reference to the raw value of a text box entered in a new row
Hello,
I have a livecycle form with a text box and radio buttons.
There is another section of the form which shows the raw value of the text box when the radio button is clicked.
The formcalc script works correctly for the first row.
if (xfa.form.form1[0].AgendaMatrixFrame[0].AgendaMatrixRow[0].AgendaRadios[0].ActionRadio[0] == 1) then
xfa.form.form1.AgendaMatrixFrame.AgendaMatrixRow.AgendaItem.rawValue
else
""
endif
There is another button when pressed will add a new row to the form. This javascript works correctly.
form1.CommonScripts.AddRow();
I have not been sucessful in retrieving the raw value of the text box if a new row is added.
I changed the reference in the script from AgendaMaxtrixRow[0] to AgendaMatrixRow[1] but there was an error.
Can anyone please provide assistance with how to correctly reference to the new row when added?
Thank you ![]()