Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Designer
Viewing all articles
Browse latest Browse all 16286

xfa.host.messageBox

$
0
0

I am trying to get a message to appear if someone tries to enter enter data in a drop down list before entering in formation in a previous list.  I have two drop down lists: ServiceType[0] and Action[0]. I have this code set up in the change event:

 

topmostSubform.Page2.Action[0]::change - (JavaScript, client)

 

if

 

(topmostSubform.Page2.ServiceType[0].rawValue == null)

{

xfa.host.messageBox("You must select a Service Type Value"

, "Error", 3, 1);

}

 

When I select something from the Action[0] list, nothing happens when I have not selected anything in the ServiceType[0] list. What am I missing please?


Viewing all articles
Browse latest Browse all 16286

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>