The 'Check Script Syntax' really only checks core JavaScript syntax
errors. Technically speaking, mispelling an XFA method like rawvalue is
not seen as a syntax error.When previewing the form, press Ctrl-J to
bring up the debugging console. Here you will get the line number and
object where an error occurs (most of the time). Keep in mind too that
the script has to be executed before the console can pick up the
error.Kyle