Text FormattingCreating a PDF with forms that auto-calculates

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Creating a PDF with forms that auto-calculates

Post by Faust »

Hi,


I currently make my company's quotations using latex and I have included checkboxes from the hyperref package, so people can choose which options they want -similar to Dell's website where you can configure your PC-

I would like the PDF to auto calculate the total every time someone
makes a change, is this possible using latex? What package should I use?

If someone has plug 'n play javascripts or something easy I can use I'd be happy.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

sitex
Posts: 70
Joined: Sat May 09, 2009 12:37 pm

Creating a PDF with forms that auto-calculates

Post by sitex »

Hello,

• If you create your PDF form latex using distiller you can use the eforms package available at http://www.math.uakron.edu/~dpstory/webeq.html. The eforms can can create calculation fields. See the AcroTeX PDF Blog #25, titled “Processing Acrobat Forms using JavaScript, Internal Processing of a Field, Part 5: The Calculation Tab” at http://www.math.uakron.edu/~dpstory/pdfblog.html. All PDF forms seen at the AcroTeX PDF Blog were created with AeB (http://www.math.uakron.edu/~dpstory/webeq.html), using distiller. Blog #25 contains many examples of automatic calculation.
• If you use pdflatex and have Acrobat (not Adobe Reader, but Acrobat), you can use the UI (user interface) to create the auto calculation. Blog #24 would be helpful again.

Don Story's packages are very useful. I hope this helps,

Tom
Post Reply