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

AR8 bug with alignment statement.

whatever
Registered: Aug 23 2007
Posts: 21

Hello, I'm facing problems with Adobe Reader 8.
 
We have some AR8 installations which fail in the line:
 
myTextField.alignment='center';
 
while others AR8 work fine with the very same document.
 
This way I have two new year's wishes, to know:
1) Why the same version of adobe reader 8 behavies different having the same plugins and edit/preferences?.
 
2) Why, sometimes the field.alignment='center' statement
throws an error on AR8 and never in AR7 nor even on AR6?.

My Product Information:
Reader 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
We need more information to provide an answer. What is the error? What are the differences between the fields that work and the fields that don't? Can you post an example document?

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

whatever
Registered: Aug 23 2007
Posts: 21
Thanks for your answer.

The error is something like "the field does not accept this attribute" and is throwed by the line which assigns the field alignment: field.alignment='center'.

Actually there is not a sort of good and bad fields, instead we do have good and bad acrobat reader installations: opening the very same document on many equipments will lead to obtain an error only on those bad installations.

Using one file (stored in the network) the error only occurs in some AR8, it never appears in other AR8 and neither in any AR7 nor AR6.