Skip to main content
Inspiring
January 8, 2019
Question

Limit page navigation in form

  • January 8, 2019
  • 3 replies
  • 732 views

Hi,

Odd question...

I am trying to limit users of a PDF mental health survey form to navigate through the pages with only the "next" and "back" buttons I provide for them on each page. This is because I don't want them to see future pages without first responding to the yes / no question on each page (the flow from one question to the next is very important).

I have the survey set to open in presentation mode (an Indesign option) so they do not see the scrollbar in Acrobat Reader to discourage switching pages without answering the question, but I wish I could completely limit it.

Is there a way to stop them from switching pages using the scroll wheel on their mouse or their keyboard without answering the page question and then pushing the "next" / "back" button?

Thanks!

This topic has been closed for replies.

3 replies

JR Boulay
Community Expert
Community Expert
March 31, 2020

I know how to make such PDF documents, in which the user cannot change the page other than with the buttons placed on the pages. But it only works with Acrobat Reader version DC or version XI.
My process is not a hack (Hi Gilad 😉 ), it is reliable and completely orthodox.

I could show you an example, contact me privately.

Acrobate du PDF, InDesigner et Photoshopographe
Bernd Alheit
Community Expert
Community Expert
March 31, 2020

Does it work in Acrobat Reader DC on Android or iOS?

JR Boulay
Community Expert
Community Expert
March 31, 2020

No, MacOS and Windows only.

Acrobate du PDF, InDesigner et Photoshopographe
Legend
March 31, 2020

Bear in mind most people won't open it in Reader, and your tools for controlling and limiting just won't apply. Even in Reader, JavaScript is often turned off.

try67
Community Expert
Community Expert
January 8, 2019

It's possible to achieve something like it with a script, but it's a pretty ugly solution. I would not recommend you pursue it.

Inspiring
March 31, 2020

Hey try67,

Maybe it's very very ugly… I'm interested in such a script 🙂
I'm also strugling with something like this. I have a form that should first be prepared by a user before he can continue to go to the next page of the PDF.

I put some javascript in the page close event of my first page that if a certain variable is not set the page should go back to page 1. but the event does not seems to listen to this.pageNum = 0 in this state.

Any idea how to get that restriction?

(plain Acrobat DC)

try67
Community Expert
Community Expert
March 31, 2020

Yes, that is the way to do it, but it's quite easy to get around it. For example, by typing a different page number in the toolbar, or by being a bit insistent with the mouse scroller or even by pressing the End key. It's very unreliable and really should not be used at all. A better option is to convert the pages to Templates and hide them, until they are needed.