DropDown changes background color with selected option
hi there!
i´m stuck dropdown need have red background if option tbd active (which default option) , have no backgrond if other option selected.
the red background red rectangle visible or hidden, i have tthis code in change event of dropdown:
if (this.rawvalue == "tbd"){ rectanglered2.presence = "visible"; }else{ rectanglered2.presence = "hidden"; }
but thing event checks value when changed, if in tbd value , selec item 1, recntagle still visible, because @ moment selected item 1 value tbd, so not working way need to.
anys ideas?
thanks!
you have use
if (xfa.event.newtext == "tbd"){ ...
then works fine.
"xfa.event.newtext" takes dropdown value @ runtime.
hope, it's helpful,
mandy
More discussions in LiveCycle Designer
adobe
Comments
Post a Comment