Text Formatting ⇒ Creating a PDF with forms that auto-calculates
Creating a PDF with forms that auto-calculates
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Creating a PDF with forms that auto-calculates
• 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