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

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account