I apologize if this is really basic but I have trouble with nested tables and indexing. I am trying to write a condition to hide two rows in a table if the field 'Name9" is equal to N/A. My script looks like this. It doesn’t work and it doesn’t give me any errors. I tries using record.tables.AB[index].tables.Advisor[0] ["Name9]; and that didn’t work either.

**var** advisor = record.tables.AB[0].tables.Advisor[“Name9”];

**if** (advisor == “N/A”) {

results.attr(“data-conditional”, “”);

results.hide();

} **else** {

results.show();

}

I’m sure this is simple but I can’t get this to work. I also used results.each(function(index) { befroe my var line and that didn’t work either.

Thank You