Expand my Community achievements bar.

Adobe Live Cycle ES8.2 - Repeating Table and a table that can be hidden inside repeating table

Avatar

Level 1

Good day,

I have a created a repeating table in live cycle by using the javascript below

form1.Header.TopSF.ClientButton::click - (JavaScript, client)

  var v_rows = this.parent.txtclientRows.rawValue;

  form1.Header.tblclient.instanceManager.setInstances(v_rows);

The table repeats correctly and then inside that table I need to hide or show another table.

form1.Header.tblclient.Row23.VehicleYes::change - (JavaScript, client)

if (this.rawValue == "0") {

  form1.Header.tblclient.Row24.tblVehicle.presence = "hidden";

}

if (this.rawValue == "1") {

  form1.Header.tblclient.Row24.tblVehicle.presence = "visible";

}

Here is what I am trying to do.

I am creating a form that has one to many clients.  Then I need to add vehicle information to each client if there is any.  If there is no vehicle information I want to hide the vehicle table in the client table.

The script on the vehicle is hiding the subtable but when I go to the second client it will hide or show the first client vehicle information it won't change the 2nd client table at all???

Any help you can provide would be appreciated.  I also apologize if this is basic as I am new to Live Cycle.

0 Replies