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

Problem with listbox

$
0
0

Good afternoon all,

 

I am having problem with the following code. I have 3 items in a listbox. This code should populate the drop down list depending on what is selected in the list box. It is however, not working. 

Please I need help with the code below,

 

On calculate event;

 

If(Listbox1.rawValue==1){

DropDownList1.rawValue="P";

}

else if (Listbox1.rawValue="2"){

    DropDownList1.rawValue="J" 

}

else if (Listbox1.rawValue="3"){

    DropDownList1.rawValue="H" 

}

 

else if (Listbox1.rawValue="4"){

   DropDownList1.rawValue=null;

  xfa.host.setFocus(DropDownList1);

}

 

Thanks

 

v/r

 

Tammy

 


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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