I don't believe there is such a thing in a LiveCycle Designer form.
Maybe if you can explain the scenario more we could suggest an alternative.
I don't have a specific scenario in mind.
Though, I am investigating the error logging and error reporting possibilities within LiveCycle Designer forms.
For example, if there is an unhandled error in the code, I am curious if I can "catch" it globally, inform the user ("Something is wrong with this form, please contact support") and possibly log the error in a file.
Thank you to both of you!
I have my answers now.
There is no global error handler, but I can nevertheless wrap most of the code in a "global" try / catch ("catch them all"), which is fine for me.
Hi, Just thought it might worth pointing out that you could write a macro to add the try/catch block to your code. There is an example of a macro that adds enter/exit console.println statements in the same blog Add Trace to Form Script which I've found useful in working out whats going in at times.