Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Strange behavior for border.fill.color.value

Avatar

Not applicable
I have the same code in my sample/test form as I have in my big final form but I get different results. This is what I used:



txt_url.border.fill.color.value = "255,253,213";



In the small test form I have, it works great. In the big form it changes the background of the whole element, not just of the textbox itself.



Please help!!!



Kevin
2 Replies

Avatar

Not applicable
If you just want the edit control portion of the text field you should use:



txt_url.ui.oneOfChild.border.fill.color.value = "255,253,213";



Chris

Adobe Enterprise Developer Support

Avatar

Not applicable
Hi Chris,



Thank you! That really helped.



Kevin