I'm creating a pdf order form for a wine store; the original pdf was created for us, and I converted it into a form.
There is one line for each product that looks like this:
____ 40080 CABERNET SAUVIGNON $9.95
When I ran the auto form-field recognition, it created a field to the left of the product number (where the underscore is) for each product. The field name is simply the product number, in this example '40080'.
I have been able to create and distribute the form with each field as a numeric (quantity), and the quantity for each product is saved in a dataset file. Is there a way I can read in the price for each field and have it calculate the totals? The prices are aligned in a column, I need to convert it to a data column. Some sort of bulk processing is needed - there are 577 products!
Thanks,
Ross Diamond
I believe that in Acrobat 10 there is a way to selectively convert table like data into data file. But there isn't any thing in Acrobat 8 for this. You could write a script to search the page text and extract price data, but it would be a lot of work and may not be reliable, depends on the consistency of the layout and what else is on the page.
If you have the price data in a file already, and you can reliably associated it with the related form field names, then your best bet is to import this data file into the PDF as an attachment and then parse it for the needed info.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script