Skip to main content
New Participant
May 21, 2020
Question

app.popupmenu Adobe LiveCycle

  • May 21, 2020
  • 1 reply
  • 332 views

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

var result = app.popUpMenu("opt1", "opt2", "opt3");
this.getField("Text1").value=result;

 

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. (file attached)

This topic has been closed for replies.

1 reply

Thom Parker
Inspiring
May 21, 2020

I would suggest that you learn a bit about LivelCycle (now AEM) scripting. Fields are referenced differently on an AEM form, it has it's own scripting model that is very different from Acrobat. Try asking on the AEM forum for learning resources.

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often