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

“ReferenceError: TF_MAIL_NOT_AVAILABLE is not defined” when loading PDF form

riccardocattania
Registered: Jan 5 2008
Posts: 4

Hi,
I need to fill a PDF form from ISTAT (Italian Institute of Statistics), which has my personal data (personal code, Name, Address and so on) already filled in: I can download the form, but it's empty.
The message:
“ReferenceError: TF_MAIL_NOT_AVAILABLE is not defined
48:Document-Level:TF 3 “ appears in the Javascript Console.
 
The ISTAT's support could' nt help but did note that Reader was on the correct settings, and said that they found some problems with 64 bit hardware, which is my case.
This happened both with Reader 7.0 and 8.1.1, with Firefox 2.0 and IE 6.0.
 
My PC has an AMD Athlon 64 processor 3000+ 2.00 GHz, with 960 MB of RAM;
OS Windows XP with SP 2
Browser Firefox 2.0.0.11, IE 6.0
Adobe Reader 8.1.1
Virus Scan McAfee 12.0; Personal Firewall McAfee 9.0.
 
On the office's PC (IBM 32 bit) I can download the form with my personal data filled in, but I need to use this form from my home.
 
Any suggestions?

My Product Information:
Reader 8.0999999999999996447286321199499070644378662109375, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
This issue requires some real analysis in order to be solved. The JS Console is reporting that a variable named "TF_MAIL_NOT_AVAILABLE" is undefined, i.e., it is used in a line of code, but it either has no value, or has not been declared. The code it's used in is on line 48 in the doucment level script named "TF-3".

It's possible that Acrobat is not operating properly on the 64bit system, but how it is not operating is not clear. But it could also be any number of other things as well. It's impossible to tell without a detailed examination. For example. How is your data being merged into the form. Is is entirely server side merging? or is the server generating an FDF file and passing it to the browser? What is this code doing? Is it populating the form?

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

riccardocattania
Registered: Jan 5 2008
Posts: 4
Hi,
thanks for answering to my question.
I think that the server is creating an FDF file: when I connect to the ISTAT's site (https://indata.istat.it/fasweb/), I get two options: to open directly the form, or to download the FDF file and then open it from my PC, but in any case the form isn't populated with my data.
I don't know what the code is doing: I am only an user, not a programmer.
I will forward your answer to the ISTAT's support, and hope they can explain what the code is doing.
Thanks
Riccardo Cattania