Highlighted

Info window with opening the form

Participant ,
Oct 29, 2020

Copy link to clipboard

Copied

Hello to the community,
Have created a form and would like it to open an info window with the form where a certain info text is.
Close info window manually or automatically after 5 seconds.
How can I do this with Acrobat DC (2015 Clasic / Version 2015.006.30527) or would it be possible with Java script?
If so, please include the code. OS is Windows 10 (2004).

Any idea / help how I could do it is welcome 🙂

 

Thx in Advance

Adobe Community Professional
Correct answer by George_Johnson | Adobe Community Professional

Here's a link that covers how to enter a document-level script, which will work for single or multipage forms: https://www.pdfscripting.com/public/Document-Level-Scripts.cfm

 

Go to the section "Entering/Editing Document Scripts" to see how to enter one. When you add a new one, Acrobat will supply an empty function, which you should delete and then enter the code I showed earlier. You would of course add your own text. When you save the document, close it, and reopen, it will display the message, and clicking the OK button will close the message window.

TOPICS
Acrobat SDK and JavaScript, Comment review and collaborate PDF, Edit and convert PDFs, How to, PDF forms

Views

45

Likes

Translate

Translate

Report

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

Info window with opening the form

Participant ,
Oct 29, 2020

Copy link to clipboard

Copied

Hello to the community,
Have created a form and would like it to open an info window with the form where a certain info text is.
Close info window manually or automatically after 5 seconds.
How can I do this with Acrobat DC (2015 Clasic / Version 2015.006.30527) or would it be possible with Java script?
If so, please include the code. OS is Windows 10 (2004).

Any idea / help how I could do it is welcome 🙂

 

Thx in Advance

Adobe Community Professional
Correct answer by George_Johnson | Adobe Community Professional

Here's a link that covers how to enter a document-level script, which will work for single or multipage forms: https://www.pdfscripting.com/public/Document-Level-Scripts.cfm

 

Go to the section "Entering/Editing Document Scripts" to see how to enter one. When you add a new one, Acrobat will supply an empty function, which you should delete and then enter the code I showed earlier. You would of course add your own text. When you save the document, close it, and reopen, it will display the message, and clicking the OK button will close the message window.

TOPICS
Acrobat SDK and JavaScript, Comment review and collaborate PDF, Edit and convert PDFs, How to, PDF forms

Views

46

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 29, 2020 0
Adobe Community Professional ,
Oct 29, 2020

Copy link to clipboard

Copied

Do you want the info window to be displayed each time the document is opened, or something else? If it's a single page form, the simplest is probably to use the following JavaScript in the Page Open event:

 

// Page Open JavaScript
app.alert("Info text goes here.\r\rThis is a new line.", 3, 0);

 

For multi-page forms, you'd place the code in a document-level JavaScript that executes when the form is opened. Post again if you need help with that.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 29, 2020 0
Participant ,
Oct 29, 2020

Copy link to clipboard

Copied

I think that's what I'm looking for 🙂
I think ... because I'm a beginner, I can even do everything wrong with the question 🙂

Where can I put this script in?
don't even know the steps, have Acrobat DC (2015 Clasic / Version 2015.006.30527). I only know how it could go with a text field, but now with the open, how?
Could you describe the steps to me? ... would help me a lot.

Thank you in advance for your patience and understanding 🙂

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 29, 2020 0
Adobe Community Professional ,
Oct 29, 2020

Copy link to clipboard

Copied

Here's a link that covers how to enter a document-level script, which will work for single or multipage forms: https://www.pdfscripting.com/public/Document-Level-Scripts.cfm

 

Go to the section "Entering/Editing Document Scripts" to see how to enter one. When you add a new one, Acrobat will supply an empty function, which you should delete and then enter the code I showed earlier. You would of course add your own text. When you save the document, close it, and reopen, it will display the message, and clicking the OK button will close the message window.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 29, 2020 2
Participant ,
Oct 29, 2020

Copy link to clipboard

Copied

Thank you for your effort and patience.


I think it could work that way.

Will be able to try it on Monday.


Have a nice day / night

Niko
laos.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 29, 2020 0