We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Modify JS in the XFA pdf

If there any way that I can change the JS script inside an existing XFA PDF such as the scripts inside an event tag:



Thanks for contacting support.

You may add or remove JavaScript from Document class which has JavaScript collection type and provides access to JavaScript scenarios by its key. For more information, please check “Adding/Removing JavaScript to Document Level” article in our API documentation and in case you face any issue, please share your sample document along with some more details of your requirement. We will definitely test the scenario in our environment and address it accordingly.