Expand my Community achievements bar.

Variables in LiveCycle question ?

Avatar

Former Community Member
Can anyone tell me why this doesn't work with a form variable???



This works:

Button.border.fill.color.value = "255,0,0";



This doesn't:

Button.border.fill.color.value = "myColor.value,0,0";



(myColor is a Form variable that is 255)



Thanks in advance, I can't get it to work......



Rod
1 Reply

Avatar

Former Community Member
Hi Rod,



Try:

var myColor = "255";

Button.border.fill.color.value = myColor + ",0,0";



Let me know if that doesn't work for you.



Rod