Remove Field Action
Contents
[
Hide
]
Remove a field action
- Bind the source PDF to the
FormEditorfacade. - Call
removeFieldAction(...)for the target field. - Save the updated document.
public static void removeFieldAction(Path inputFile, Path outputFile) {
FormEditor editor = new FormEditor();
try {
editor.bindPdf(inputFile.toString());
editor.removeFieldAction("Script_Demo_Button");
editor.save(outputFile.toString());
} finally {
editor.close();
}
}