I got the following error while trying to access this.URL:
"NotAllowedError: Security settings prevent access to this property or method."
var x = this.URL;
app.alert('Error during submit.\r\n' + e);
but the documentation said I should have Read access.
Where is that code located and what version of Acrobat are you using?