Expand my Community achievements bar.

Value in a field

Avatar

Level 2

HI, I have a problem with a form in LiveCycle Designer.

I need to know how can I populate a field, after selecting a specific item in a drop down list, using Java Script.

Thanks for your support

1 Reply

Avatar

Level 9

Hi,

You can put some scripts in the change event of the dropdown field.

var a = xfa.event.newText;

if (a = "some value")

     {

          "The field you want to show the value". rawValue = some value;

     }

else

     {

          rest part of the code you like.

     }

Thanks,

Bibhu.