Skip to Content

Read Table data in off line interactive Adobe Form

Hi All,

I have searched few links in SDN & solved some issues.

Now I was stuck up in reading table data.

I searched and implemented the below logic but still not able to read the table data.

So could you please let me know where I did a mistake.

This is all Off Line Interactive form.

var data1;

var norows = xfa.resolveNodes("data.sub.tableform.table1.row[*]").length;

for ( var i =0; i <norows; i++);

{

data1 = xfa.resolveNode("data.sub.tableform.table1.row["i"];

    if(data1.MATNR.rawValue != null || data1.MATNR.rawValue != "");

    {     

    xfa.host.messageBox("Sucess");

             }

}

}

Regards,

Bharat

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 06, 2015 at 04:17 PM

    (1) Are you sure you have this script marked as "Javascript" and not "Formcalc" in your form?

    (2) You do NOT have a closing ")" on this statement....

    data1 = xfa.resolveNode("data.sub.tableform.table1.row["i"];

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Sangeetha,

      Are you able to read the record?

      In my case, I just read the record and done the validation.

      If you want to stored the records, then create drop down field and stored those values in that by using Addline syntax and hide that drop down field by using HIDE syntax.

      Cheers,

      Bharat