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

display value in textfield based of dropdown list selection

$
0
0

I only want one value to display in a textfield based of what is selected from the dropdown field.  I also would like for the dropdown list value to display as well.

 

Right now, this is what I have but the user is able is able to input more than one value from the dropdown list.

 

 

if  (  QWcomm.rawValue ==null  )

 

QWcomm.rawValue = xfa.event.newText; else

QWcomm.rawValue += ( "\n" + xfa.event.newText );

 

for (var i = 5; i < this.items.nodes.length; i++ ) {

 

      aValue= this.resolveNode("items.#text[" + i + "]").value;


      if ( sValue === xfa.event.newText )

      {

            this .deleteItem (  i  );

            xfa.event.change = "";

            break;

      }

}


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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