FillColor on Click event in table
hi guys,
i have table text populated.
i need create form highlight cell when clicked , unhighlight when unclicked.
am having real trouble trying work.
i set cells calculated read text fields can have click events.
i used code:
if(this.fillcolor = "255, 255, 255")
{
this.fillcolor = "255, 255, 0";
}
if(this.fillcolor = "255, 255, 0")
{
this.fillcolor = "255, 255, 255";
}
but not getting luck.
any appreciated!
in if statement need use == instead of =. == tests value while = assigns value.
if (this.fillcolor == "255, 255, 255") {
this.fillcolor = "255, 255, 0";
}
else {
this.fillcolor = "255, 255, 255";
}
More discussions in LiveCycle Designer
adobe
Comments
Post a Comment