Avatar

Correct answer by
Level 10

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