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

Editing PDF forms (and saving the results back to Nextcloud)? #354

Closed
tohojo opened this issue Apr 11, 2021 · 5 comments
Closed

Editing PDF forms (and saving the results back to Nextcloud)? #354

tohojo opened this issue Apr 11, 2021 · 5 comments

Comments

@tohojo
Copy link

tohojo commented Apr 11, 2021

It seems the upstream pdf.js supports editing and saving PDF forms (with saving added in v2.6.347). Any chance of supporting this in Nextcloud? I suppose adding the support to the viewer is just a matter of updating the pdf.js version, but maybe more work is needed to support saving? Not sure how this works, exactly...

@alexanderdd
Copy link

alexanderdd commented Mar 22, 2023

I am surprised only 8 people gave 👍

Ideally, this issue should be resolved. But in the meantime:

Is there a way to tell pdf.js that it should not make the form fields fillable? This wrongly suggests to the user that you can fill the form - bad UX - can someone make the designers/UX people of Nextcloud aware of this?

@alexanderdd
Copy link

alexanderdd commented Nov 3, 2023

Here is a screencast showing the problem on NC 27.1.3, pdfviewer 2.8.0

There is no way for the user to know that the entered data will not be saved. To the user, the lack of a save button does not mean it will not be saved, a lot of applications use auto-save.

Ideally, the data entered into the form should be saved. If that is not possible/takes too much time to develop, maybe Nextcloud can tell pdf.js that it should not make the form fillable, so "read-only"?

Peek 2023-11-03 11-10

@danxuliu
Copy link
Member

danxuliu commented Nov 3, 2023

Saving forms will be possible in Nextcloud 28 thanks to #787. Currently read-only files will still show the forms, but this will be fixed in #850

For Nextcloud 27 the forms will be shown as read-only in all cases with #849

@szaimen szaimen closed this as completed Jan 10, 2024
@alexanderdd
Copy link

Just tested it on Firefox 125.0.3, on both NC 28.0.3 and NC 29.0.0 (cloud.nextcloud.com) the situation is still like in the screencast above (entered data not saved) #354 (comment)

reopen @szaimen ?

@alexanderdd
Copy link

alexanderdd commented May 14, 2024

never mind, it works now in NC 29, thank you!
(to save a pdf form with the data you entered, click the save button at the top right, next to the print button)

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

No branches or pull requests

5 participants