cancel
Showing results for 
Search instead for 
Did you mean: 

adobe forms - colors

Former Member
0 Kudos

Hi

Iam displaying internal table in adobe form. its working fine.

based on condition i want to display color in that table

For example

col1 col2 col3

Y ram 10

Y kumar 20

X Vijay 30

Y kavi 40

X saran 10

above table is displaying in adobe forms .

If col1 value is 'X' means i have to set the color for particluar row.

how to set the color based on that condition ?

i already tried with formcalc and javascript .. But it is not working please help.

thanks

sri

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Try the following script at the form:ready event of col1.

if ( this.rawValue == 'X' )

{

this.parent.fillColor = "200, 200, 200";

}

else

{

this.parent.fillColor = "112, 112, 112";

}

Thanks,

Aravind

0 Kudos

Thank ypu so much ... it works great!