Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Re: Error: $host does not have a method 'messageBox'

Avatar

Level 2

Hello Experts:

I'm experiencing strange behavior on my LC Designer ES application.

  • I recieve a warning and my console window (ctrl+j) doesn't show up nor does the message box.
  • I cannot see xfa.layout members on the object drop-down menu. I have re-installed to no avail.
  • This occurs on every all forms. The default script is set to JavaScript.

Can anyone explain this behavior.  Is it an installation issue?

Thank you for your time, iL.

Log:

Generating PDF Document...

Script failed (language is javascript; context is xfa[0].form[0].form1[0])

script = xfa.host.messageBox("My Message");

  Error: $host does not have a method 'messageBox'

PDF generated successfully.

Script:

form1::initialize - (JavaScript, client)

{

     xfa.host.messageBox("My Message");

}


System Info:
LC version 8.2.1.4029.1.523496
Acrobat Pro 9
Java Version 6 Update 15
SQL Server 2008 Express (HotFix installed)

XP SP3, Office 2k7

0 Replies