Is it possible to use xfa.host.exportData() in a form that will be filled out in Adobe Reader?
I have already used trusted functions, which works on Acrobat Pro, but not working on Adobe Reader.
NotAllowedError: Security settings prevent access to this property or method
To use the exportData() method in Reader the form needs to be Reader-enabled by LiveCycle Reader Extensions, otherwise you can only execute it with Acrobat.
An alternative would be to submit the data ba mail as an XML file.
This requires also additional rights to work with Reader but those can be applied by Acrobat too.
You can't buy LCRE without a full LiveCycle ES server installation. It doesn't run on desktop machines, and prices for a complete ES license start at five figures plus the costs of a server to host it.