Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
9

Creating Pop-up Information box before continuing

Participant ,
Mar 31, 2024 Mar 31, 2024

Hello, I am looking to create a pop-up information box that must be read and acknowledged before the documents are displayed, or before use.  

To add clarity, I have a rather large fillable document that starts out with an input page. The input page only fills in the most important and repetitive information throughout the various forms. For those areas to be changed, you have to go back to the input page, unless specific information is not covered by the input page.  

 

I want this information to be relayed and acknowledged before moving forward. If the forms can be hidden before the message is acknowledged that would be a bonus for this project. 

 

I read this discussion/article but not understanding how (if it applies) to my project. Please help and thank you. 

 

https://community.adobe.com/t5/acrobat-discussions/creating-a-quot-pop-up-comment-quot-upon-opening-...

 

TOPICS
Create PDFs , JavaScript , PDF forms
935
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 31, 2024 Mar 31, 2024
LATEST

This type of behavior requires more than the standard form scripting, which means that the form would only be usable on the desktop versions of Acrobat Pro or Reader. 

 

There are a couple of techniques you could use for this

1)  Hiding form content with OCG Layers (this can also be done with opaque markup annotations)

2) Hiding and showing form fields

3) Custom Popup Dialogs

 

This examples uses a combination of (OCG) layers and hiding/showing form fields.

https://www.pdfscripting.com/public/Lite-Document-Security-Description.cfm

 

Article on programming OCG Layers

https://acrobatusers.com/tutorials/create_use_layers/ 

 

This example shows different ways to use a custom popup dialog box.

http://www.windjack.com/resources/Examples/DialogUses.pdf

 

And here is a drag and drop tool for creating custom dialogs.

https://www.pdfscripting.com/public/ACRODIALOGS-OVERVIEW.cfm

 

And here's an article on hiding and showing form fields.

https://www.pdfscripting.com/public/Hiding-and-Showing-Form-Fields.cfm

 

(note: some of these require a subscription) 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines