How to add a popup in PDF from a Submit button

New Here ,
Apr 28, 2022 Apr 28, 2022

Copy link to clipboard

Copied

I set up a submit button that generates an email that attaches the pdf.  I want to create a popup when they hit the submit button that reads "Are you sure you want to submit?".

 

How do I do that?

 

Daniela

TOPICS
PDF forms

Views

53

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
community guidelines
Adobe Employee ,
Apr 28, 2022 Apr 28, 2022

Copy link to clipboard

Copied

Hi Daniela,

 

Hope you are doing well and sorry for the trouble.

 

The workflow that you are trying to achieve might be possible using JavaScript.

 

For more information please check the help pages listed below:

 

https://helpx.adobe.com/acrobat/using/applying-actions-scripts-pdfs.html

https://acrobatusers.com/tutorials/javascript_console/

 

Regards

Amal

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
community guidelines
Adobe Community Professional ,
Apr 28, 2022 Apr 28, 2022

Copy link to clipboard

Copied

LATEST

You can use this script:

 

if (app.alert({cMsg: "Do you really want to submit this form?", cTitle: "CUSTOM TITLE", nIcon: 2, nType: 2}) == 4) {
// YOUR SUBMIT SCRIPT HERE
}

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
community guidelines