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

Form Fields not updating... HELP!

turp1twin
Registered: Oct 20 2009
Posts: 6

I have searched this forum extensively, but cannot seem to get anything to work. I am using the latest version of Acrobat 9.x for OS X. I have multiple fields on a form, some use simple calculations and some use custom javascript. I have an issue where a field on Page 1 (field A) of my form is using a simple calculation (product(B)) to get its value from a field (field B) on Page 2. This is updating correctly when I change the value on page 2. However, on page 1 I have another field (field C) that has a simple calculation ( sum A+other fields), and this field is not being updated when Field A changes. For some reason it appears the calculate event is not raised when the Field A is updated on page 1. I hope I am making sense. Any help would be appreciated. Thanks!

Jeff

My Product Information:
Acrobat Pro 9.1.3, Macintosh
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Have you checked the 'calculation order' being used by Acrobat?

what happens to field 'C' when you enter another value?

If it is updated based on the previously entered data, then you most likely have a calculation order issue.

George Kaiser

turp1twin
Registered: Oct 20 2009
Posts: 6
Thanks for the quick response. Not quite sure how to check the calculation order? Does it correspond to the tab order?


Jeff
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi turp1twin,

To check/change the calculation order open the form in Acrobat and put it into edit mode (Forms ->Add or Edit Fields). In Edit mode, go back to the Forms menu and select Edit Fields ->Set Field Calculation Order.Does the order the fields are being calculated make sense? If not, use that dialog to move calculations up or down in the list as needed. This is a VERY common problem, so it's a good thing to check when you are designing forms.

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
turp1twin
Registered: Oct 20 2009
Posts: 6
Thanks so much for your quick response. This is a very helpful forum! I found the place where I can change the calc order and am working on it now. I do have one other question though. I am using the submitForm function to submit my fdf form to a Java serverside application. This seems to work fine, however, sending a 200 or 204 HTTP response makes Adobe Reader open a blank page. I simply want to click the submit button on my form and have it HTTP POST to my service and then have the Form/Reader close. Is this possible? Thanks!
turp1twin
Registered: Oct 20 2009
Posts: 6
It appears that in Adobe Reader, when I submit the form using submitForm, it submits correctly, but I get the following error, "An error occurred during the submit process. Cannot process content of type text/plain.". My servlet is simply returning an HTTP 204 response. Any ideas how I can prevent this error? Thanks.