Open sagar-gavhane opened 5 years ago
First of all, I have filled the form then I need to remove editable fields or we can say lock form. When I'm doing this but it throws error TypeError: wrong arguments, pass 1 argument which is a valid index in the array.
TypeError: wrong arguments, pass 1 argument which is a valid index in the array.
const pdfWriter2 = hummus.createWriterToModify(source, { modifiedFilePath: target, log: __dirname + "/logs.txt", }); lockForm(pdfWriter2) pdfWriter2.end();
What's the lockForm?
lockForm
This is lock from. https://github.com/galkahana/HummusJSSamples/tree/master/lock-form
First of all, I have filled the form then I need to remove editable fields or we can say lock form. When I'm doing this but it throws error
TypeError: wrong arguments, pass 1 argument which is a valid index in the array.