Expand my Community achievements bar.

SOLVED

Show scrollbar for whole PDF form

Avatar

Level 2

Hi,

At the moment, on preview or when the form is embedded in a webpage, the scrollbar is not showing. I reckon this is because this PDF form only has 1 page. However, as user is allowed to zoom in/out for embedded PDFs on webpages, a scrollbar is needed. Is there a way to force the scrollbar of a PDF form to appear?

Thanks,

Bernard

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi guys,

Found the solution.

There is a property that disables panes(which include scrollbars), i.e.

event.target.viewState = {overViewMode:5};

Hence, removing this line of code will fix this issue.

Regards,

Bernard

View solution in original post

3 Replies

Avatar

Level 2

Hi Radzmar,

Thanks for the input. Tried it out, still dont work.

Weird thing is the scrollbar does appear in other forms using the same URL. There's only 1 particular form that doesnt show the scrollbar. Still can't figure out why.

Regards,

Bernard

Avatar

Correct answer by
Level 2

Hi guys,

Found the solution.

There is a property that disables panes(which include scrollbars), i.e.

event.target.viewState = {overViewMode:5};

Hence, removing this line of code will fix this issue.

Regards,

Bernard