app.popupmenu selection item

orphangel

21-05-2020

Hi, I have this code for a pdf form on Adobe LiveCycle:

 

var cRtn = app.popUpMenu(["Aménagement",["Paysage", "Plan", "Design"], "Structure"], "-","Gazon","Vegetable");

  if(cRtn)

  {

     console.println("Selected Entry: " + cRtn);

  }

 

I want the selection appears inside the box field, but when I click on one of the item, it does not appear inside the box. Someone can help me to resolve this issue? Thank you.

Answers (1)

Answers (1)

orphangel

23-05-2020

Thank you Mayank_Gandhi 🙂

 

I think I must change this:

{

console.println("Selected Entry: " + cRtn);

}

 

but I don't find the good programmation.