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

'f has no properties' message in JavaScript Debugger

jmason
Registered: Jun 22 2007
Posts: 73
Answered

I am creating a form for someone else, and this form has several dollar fields that take the sum of several other dollar fields. One field takes a percentage of a dollar amount in another field. Someone on this site helped me with that calculation script earlier last week, and it worked beautifully.

However, when I asked the person I'm making the form for to test it, she had a few other changes, including removing a few fields, and adding one or two more to a different part of the form. Now, when I try to test the form fields, I get a message in the JavaScript Debugger box that says 'f has no properties'. I do not have a field named 'f', so I have no idea what this means.

Can anyone help? Thanks in advance!

My Product Information:
Acrobat Pro 8.1.3, Windows
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
It sounds like your code is trying to access a field that is no longer part of the form because of a deletion or renaming of the field.

In general the 'f' for the error is not the field name but a JavaScirpt object should have been created for a field with some name. This generally happens with the internal functions used by Acrobat. You may have to review each field calculation, action, etc to see if a one or more fields have changed or been removed.

George Kaiser

jmason
Registered: Jun 22 2007
Posts: 73
gkaiseril wrote:
It sounds like your code is trying to access a field that is no longer part of the form because of a deletion or renaming of the field.In general the 'f' for the error is not the field name but a JavaScirpt object should have been created for a field with some name. This generally happens with the internal functions used by Acrobat. You may have to review each field calculation, action, etc to see if a one or more fields have changed or been removed.
This worked. I also changed some of my fields so that they do not have spaces, and do not contain all numbers. I went through each calculated field and redid the calculations with the appropriate fields and it stopped displaying that message. Thank you, yet again, mr. gkaiseril!