I have been trying to write JavaScript code on my form. I have finally gotten a few things to work by trial and error, but the 'Check Script Syntax' button and Preview never report any errors on either the Warning tab or the Log tab of the [whatever you call that pallet at the bottom of the screen]. All that happens is that the code does not work until I figure out the error. I have intentionally made the following errors:
"xfa.host.messageBoxx(..." instead of "xfa.host.messageBox(..."
" If (yada){..." instead of "if (yada){..."
"this.rawvalue" instead of "this.rawValue"
intentionally mistyping a field name to one that does not exist on the form
In *every* case, pressing the 'Check Script Syntax' button or Previewing the form produced "0 warnings/errors reported" on the Log.
Why doesn't it ever report errors?
Thanks
Donald