Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Textfield turns black when script runs

$
0
0

I have javaScript that runs when a textfield changes. Part of the script makes custom buttons invisible if they are currently visible.  When running the script, the textfield involved value turns black. Can anyone tell me what would make a textfield turn black when a script like the one below runs? If you click outside of the field, the black disappears.

 

 

 MEG02.QAN.FirstActionReqSubform.ActionWrittenBy::change - (JavaScript, client)
 this.resolveNode("QANemailSubform").presence = "hidden";
 this.resolveNode("AddToRouterButtonSubform").presence = "visible";if (this.resolveNode("MainSubform.Subform11.MEAdminSubmitButtonJB").presence = "visible"){  this.resolveNode("MainSubform.Subform11.MEAdminSubmitButtonJB").presence = "invisible"}if (this.resolveNode("MainSubform.Subform11.MEAdminSubmitButtonMH").presence = "visible"){  this.resolveNode("MainSubform.Subform11.MEAdminSubmitButtonMH").presence = "invisible"}if (this.resolveNode("MainSubform.Subform11.MEAdminSubmitButtonMM").presence = "visible"){  this.resolveNode("MainSubform.Subform11.MEAdminSubmitButtonMM").presence = "invisible"} 

Viewing all articles
Browse latest Browse all 5571

Trending Articles