Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

New LiveCycle Form Design Question

Avatar

Level 4

I'm an using LIveCycle v8.2.1. Currently we have several Word Perfect forms that are build off of macros. The user will open the Word Perfect form & a box will pop up asking different questions such as name, address, location, etc & after the questions are answered all of the answers to those questions are dumped into certain areas of the form with pre-written words.

My question is, can I do the same with Adobe LiveCycle? I know I can insert drop down boxes & stuff with LiveCycle but is the pop up boxes so users can enter their name, To, From, etc possible?

Basically, I just want to be able to create something for the user to opne a form named memo.pdf. As soon as they open it, they get a pop up box asking them for their name, who this memo is going to, & subject. As soon as they enter the last item (subject) & click next or OK, all of that information from the pop up boxes are populated to the memo in desigated areas...is this possible?

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

You can use an app.response (documenteed in the Acrobat javascript API) to popup questions and return the answers into variables.

something like this:

var answer  = app.response("What is your Name?")

After the user answers the question their answer is contained in the variable answer. The different options they can choose can be tested to make sure they didn't cancel out of your question. See the docs to get the right codes for each possible for response.

Paul

View solution in original post

2 Replies

Avatar

Level 10

Hi,

Yes, it is possible. You can use the execDialog method. This is quite involved to do from scratch (I haven't done it), but http://www.windjacksolutions.com do have an Acrobat plugin that makes developing dialogs much easier.

Acrobat.png

Hope that helps,

Niall

Avatar

Correct answer by
Former Community Member

You can use an app.response (documenteed in the Acrobat javascript API) to popup questions and return the answers into variables.

something like this:

var answer  = app.response("What is your Name?")

After the user answers the question their answer is contained in the variable answer. The different options they can choose can be tested to make sure they didn't cancel out of your question. See the docs to get the right codes for each possible for response.

Paul

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----