Modify JS in the XFA pdf

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

Cheers
George

@george.zheng

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.