For information about the scripting error messages, see the LiveCycle Designer ES Scripting Errors document on the Adobe LiveCycle ES documentation website at www.adobe.com/go/learn_lc_designerSyntaxChecking_82.
See also 

Addressing scripting error messages