I'm using livecycle designer 8.2 and during runtime, I get the Log error that:
$host does not have a method 'messagebox'.
I simply call:
xfa.host.messageBox("...")
using both of my formcalc and javascript events. They all are the correct case also.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script