These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Calculated field missing from submitted data structure

iconiks
Registered: Oct 16 2007
Posts: 3

I've developed a form that submits to a ColdFusion 8 processing page that includes the cfdump tag to expose the structure of the PDF file. From that data, I'm attempting to capture the raw value of a field in the form and set is as the name of the resulting PDF file.
 
This worked fine with a regular text field that a user fills in, but when I switched to a calculated field that grabs the data from two fields and concatenates them, the ColdFusion page is throwing an error indicating the the field object is undefined.
 
When viewing the form structure, that field is clearly NOT showing up in the parsed data, but I can't figure out why for the life of me.
 
I realize this is not a pure PDF question, but I'm hoping someone has accomplished something similar and might be able to point me in the right direction.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
How are you submitting the form? What is the data format? Is this a LiveCycle or AcroForm?

It's impossible to give a good answer without specific information, but it sounds like you are using an XFA form. In these forms, only data that is properly bound will be submitted. Properly bound usually means the binding is set to normal or to a specific XML schema. If the binding changed it could change what's being submitted.

Another way to check what's being exported is to submit plain XML, or XDP to an email URL, i.e. "mailto:me [at] my [dot] com"The data file will be an attachement to the email. You can just save it and open it with a text editor to see what's there, without actually sending the email.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script