I want to ask the user a question and if they click the yes button, then they should be redirected to another page.
Adobe Acrobat allows us to insert JS in the pdf:
if (app.alert("Do you want to go on page X?", 2, 3) === 4) {
// Make the direct somehow.
}
I don't think we can use the location
object there.