I would like to create an interactive calculator in InDesign that works in PDF

Explorer ,
Mar 01, 2019

Copy link to clipboard

Copied

I have created an interactive calculator for a few of our price list documents. To do so, I have to copy/paste the calculator created in PDF to the PDF documents. I would like to see if there is a way to do it directly from the InDesign document so it will save me time. I have 9 documents to do this to. Here is a link to what we are using: https://logiflex.ca/medias/documents/graphics-test-calculator.pdf

It was suggested that I ask this forum if there is a solution.

Adobe Community Professional
Correct answer by Karl Heinz Kremer | Adobe Community Professional

Even though InDesign allows you to create buttons with simple actions that are then converted into PDF form fields, it does not support calculations. I would add the fields and calculation scripts in Acrobat after you create the PDF file in InDesign. If you need to update your document, you can use the "Replace Pages" feature in Acrobat to get the new document content into your document with form fields:

Open the "old" document that has the form fields and calculations in it, then select "Replace Pages" (e.g. by right-clicking on a page thumbnail in the thumbnails pane and selecting the "Replace Pages..." menu item) and select to replace all your pages with the pages of your "new" (that is the updated document that just came out of InDesign). This gets a bit tricky if the number of pages that you have in both documents is different. You may have to duplicate a page in your "old" document to get to the correct number of pages. As long as the page with the form fields in the old and new documents are the same, you should be OK if the other pages contain random information. This will replace the information "behind" the form fields, and will leave the form fields in the location they were in the original document. You can then move the fields around and align them with the new content.

TOPICS
Acrobat SDK and JavaScript, Windows

Views

133

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

I would like to create an interactive calculator in InDesign that works in PDF

Explorer ,
Mar 01, 2019

Copy link to clipboard

Copied

I have created an interactive calculator for a few of our price list documents. To do so, I have to copy/paste the calculator created in PDF to the PDF documents. I would like to see if there is a way to do it directly from the InDesign document so it will save me time. I have 9 documents to do this to. Here is a link to what we are using: https://logiflex.ca/medias/documents/graphics-test-calculator.pdf

It was suggested that I ask this forum if there is a solution.

Adobe Community Professional
Correct answer by Karl Heinz Kremer | Adobe Community Professional

Even though InDesign allows you to create buttons with simple actions that are then converted into PDF form fields, it does not support calculations. I would add the fields and calculation scripts in Acrobat after you create the PDF file in InDesign. If you need to update your document, you can use the "Replace Pages" feature in Acrobat to get the new document content into your document with form fields:

Open the "old" document that has the form fields and calculations in it, then select "Replace Pages" (e.g. by right-clicking on a page thumbnail in the thumbnails pane and selecting the "Replace Pages..." menu item) and select to replace all your pages with the pages of your "new" (that is the updated document that just came out of InDesign). This gets a bit tricky if the number of pages that you have in both documents is different. You may have to duplicate a page in your "old" document to get to the correct number of pages. As long as the page with the form fields in the old and new documents are the same, you should be OK if the other pages contain random information. This will replace the information "behind" the form fields, and will leave the form fields in the location they were in the original document. You can then move the fields around and align them with the new content.

TOPICS
Acrobat SDK and JavaScript, Windows

Views

134

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
Mar 01, 2019 0
Most Valuable Participant ,
Mar 01, 2019

Copy link to clipboard

Copied

If you're doing it in InDesign you should ask in an InDesign forum. This forum is about JavaScript in Acrobat.

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...
Mar 01, 2019 0
blaurie2 LATEST
Explorer ,
Mar 01, 2019

Copy link to clipboard

Copied

That is where I went first, thanks.

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...
Mar 01, 2019 0
Adobe Community Professional ,
Mar 01, 2019

Copy link to clipboard

Copied

Even though InDesign allows you to create buttons with simple actions that are then converted into PDF form fields, it does not support calculations. I would add the fields and calculation scripts in Acrobat after you create the PDF file in InDesign. If you need to update your document, you can use the "Replace Pages" feature in Acrobat to get the new document content into your document with form fields:

Open the "old" document that has the form fields and calculations in it, then select "Replace Pages" (e.g. by right-clicking on a page thumbnail in the thumbnails pane and selecting the "Replace Pages..." menu item) and select to replace all your pages with the pages of your "new" (that is the updated document that just came out of InDesign). This gets a bit tricky if the number of pages that you have in both documents is different. You may have to duplicate a page in your "old" document to get to the correct number of pages. As long as the page with the form fields in the old and new documents are the same, you should be OK if the other pages contain random information. This will replace the information "behind" the form fields, and will leave the form fields in the location they were in the original document. You can then move the fields around and align them with the new content.

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...
Mar 01, 2019 1