I have a form that I created in LiveCycle that has an expanding table with 7 columns of data. Once the form has been completed by the user they will click a button that will trigger a mailMsg event and will send form data as a plain text email. Everything works great except for the loop that is supposed to write the table data.
This is what the table data should look like in Outlook message.
**************
Column1: rawValue
Column2 rawValue
and so on
************
Column1: rawValue
Column2 rawValue
and so on
*************
script:
var i=0;
for (i=1;i<=vRowCount;i++)
{
vBody +="***********************************\r\n";
vBpdy += "Column1: " + xfa.resolveNode(form.form1.ReportFields.Table1.Row1[" + (i-1) + "].Column1").rawValue + "\r\n";
vBody +="***********************************\r\n";
}
That is all I have written for the loop right now until I figure out why it is not executing.