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

resolveNode error

mpoor
Registered: Jul 5 2007
Posts: 2

I'm trying to fill the background of fields upon opening a document. I keep getting the following error. Can you tell me what I'm doing wrong? Also, can you tell me what resource I could have used to find the solution on my own?
 
Acrobat JavaScript Debugger Functions Version 7.0
Acrobat Database Connectivity Built-in Functions Version 8.0
Acrobat EScript Built-in Functions Version 8.0
Acrobat Annotations / Collaboration Built-in Functions Version 8.0
Acrobat Annotations / Collaboration Built-in Wizard Functions Version 8.0
Acrobat Multimedia Version 8.0
Acrobat SOAP 8.0
 
TypeError: xfa.resolveNode("Subform1.Name.ui.#textEdit.border.fill.color") has no properties
7:XFA:form1[0]:subform[0]:Button1[0]:click

My Product Information:
Acrobat Pro 8, Windows
pddesigner
Registered: Jul 9 2006
Posts: 858
Looks like the answer is in the error message. It says the properties for Subform1.Name has not been set. You need to check the properties for the Name field. If you want field backgrounds to be highlighted when the doc opens, you need a JavaScript to make that happen as a Doc Open page action.
Download the latest Javascript reference manual form Adobe for LiveCycle Designer 8 and search for the correct script.

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.