These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Grey columns of a table

yac
Registered: Nov 14 2011
Posts: 2
Answered

Hello,
 
I'm creating a "dynamic" table in livecycle and I would like to change my table cells based on a choice of another cell, for example:
 
cell1
drop-down list
 
cell2
this cell have to change, depending on the choice made with the first cell (it will gray and become unusable)
 
This point is OK, i create an action, and here is the source code auto-generated :

 if ($.boundItem(xfa.event.newText) == "VĂ©hicule personnel") {
  oTargetField = this.resolveNode("Montant_devise");
      oTargetField.access = "readOnly";
}

 
This point is OK, but my problem is :
if the user wan't to change the value selected in the drop down list, cells don't become re-usable ...
i just tried to change this logical operator " ==" by an comparison operator " != " but it doesn't works ...
  
Thanks for advance, and excuse me for my dirty english ....

My Product Information:
LiveCycle Designer, Windows
yac
Registered: Nov 14 2011
Posts: 2
Accepted Answer
topic resolved !
here a solution if someone have this problem :

if (($.boundItem(xfa.event.newText) === "VĂ©hicule personnel"))// data verification{oTargetField = this.resolveNode("Montant_devise");// target the fieldMontant_devise.ui.oneOfChild.border.fill.color.value = "128, 128, 128";	// grey the fieldoTargetField.access="readOnly";}