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

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

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

TOPICS
Acrobat SDK and JavaScript , Windows

Views

564

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

correct answers 1 Correct answer

Community Expert , Mar 01, 2019 Mar 01, 2019

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 "Replac

...

Votes

Translate

Translate
Community Expert ,
Mar 01, 2019 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.

Votes

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

Copy link to clipboard

Copied

LATEST

That is where I went first, thanks.

Votes

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

Votes

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