Hello there
I am unable to access the doc object, as in doc.mailForm().
I have tried accessing this object in the following ways, from a field event and a global module:
this.doc (undefined)
app.doc (undefined)
event.target.doc (undefined)
doc (crashes JavaScript).
The app object is OK, as I can use app.alert().
I am using Designer version 8.2.1, using a dynamic XML form.