I recently asked a question regarding formatting text fields. However, I think that I asked the wrong question. I have PDF drawings with text fields where different dimensional information is entered (and later printed). I am trying to get different fields to be summed in a seperate "total" field. The dimensions need to be displayed architecturally (fractions) and will also be entered as fractions. So far I have struggled and still not been able to figure out how to format any entered text as fractions, let alone my end goal of fractional numbers being summed and displayed fractionally.
In the calculation script for the sum field use this code to add the entered fractions.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script