Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: wrong arguments, pass 1 argument which is a valid index in the array. #380

Open
sagar-gavhane opened this issue Apr 30, 2019 · 2 comments

Comments

@sagar-gavhane
Copy link

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.

const pdfWriter2 = hummus.createWriterToModify(source, {
  modifiedFilePath: target,
  log: __dirname + "/logs.txt",
});

lockForm(pdfWriter2)
pdfWriter2.end();
@chunyenHuang
Copy link
Contributor

What's the lockForm?

@sagar-gavhane
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants