Live data from Hacker News

Embedded PDF viewer in Firefox 81 supports filling forms

support.mozilla.org

111–120 of 384 posts

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#111
post #29

Earlier quoted context omitted.

Yes, maybe generally; but let’s talk about the specific case here — filling of complex PDF forms. When a PDF that has interactive form fields, calculated auto-populated fields, fields that are enabled/disabled according to the inputs of other fields, etc. — the organization that created it (usually government or education) usually does that because they want you to fill it out using a PDF viewer; save it (which will…

1. A webpage form requires a server to be up and running, which requires an IT person to manage it, separate from the dept making the form. PDF forms can be created by a person given the right tools (I think Word does it) 2. IT person + webserver costs have to included in the budget somewhere. Which can be a big problem. 3. The webpage form can fail, and the support for it has to be provided by the IT dept. If the PD…

Re: all four of your points — see my sibling post. I'm not talking about encapsulated-PostScript "Print and Fill" forms (which do certainly degrade gracefully), or even open-standard PDF "Fill and Print" forms (which degrade gracefully if you don't set them up with a bad default state where there's big "N/A" text over all the disabled fields until you fill in other fields.)

Instead, I'm talking about the PDFs you can basically only load in Acrobat (though, other PDF viewers do try to render them, to varying success) that actually do data-binding to some remote database; do XHRs to submit the form data on success; do "online" onBlur-XHR-esque field validation; generate new output PDFs using scripting, from scratch when you ask them to save/print; etc.

These are applications, not documents. You can't print them. You just use Acrobat as a glorified application host to fill and submit them. (You can press Ctrl+P to get Acrobat to request to the loaded PDF application that it perform some scripted action to generate a print output. This may or may not do anything, depending on how the PDF was created. It usually just pops a "Printing is not implemented for this form" box. It certainly won't work in non-Acrobat PDF viewers.)

When other PDF viewers say they don't support "fillable PDF eForms", these are the things they're talking about. They usually support "Fill and Print" forms just fine, because "Fill and Print" forms are a somewhat-sane format, rather than being a competitor to Lotus Notes.

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#112

Earlier quoted context omitted.

Microsoft Edge allows you to draw on PDFs and save them easily. I use it for signing all the time.

I think he meant digital signature

In case he meant regular (drawn) signature, it can be done via Preview on Mac.

For a local web use, I built for myself https://formulairemagique.fr for this very reason

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#113
post #83

Earlier quoted context omitted.

The digits of pi contain every pdf that ever could and ever will exist.

Well maybe. We don't know if pi is a normal number.

> We don't know if pi is a normal number.

Sure we do. There are plenty of proofs out there that pi is an irrational number.

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#115
post #83

Earlier quoted context omitted.

Well maybe. We don't know if pi is a normal number.

> We don't know if pi is a normal number. Sure we do. There are plenty of proofs out there that pi is an irrational number.

Irrational does not imply normal. For example, 1.01001000100001... is irrational but it's certainly not normal.

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#116
post #71

Earlier quoted context omitted.

What's your favorite PDF feature that causes a brain meltdown? I've read a few comments on HN how PDF is, well, not developer-friendly. If people are interested in providing some more examples here, I'd be curious to know!

At least it's probably better than MS-Word's internal format ... (?)

I'm not saying it's beautiful, but isn't Ms-Word's internal format basically a series of XML files that are zipped up?

The old .Doc and .xls files were a bad format, but my understanding is that since Office 2007 the format is generally much better.

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#117

Earlier quoted context omitted.

Did anyone try to pluck out PDFs from /dev/urandom? How about from radiotelescope feed? Maybe the first evidence of extraterrestrial life will be some poor alien's tax form?

The digits of pi contain every pdf that ever could and ever will exist.

"Find the earliest valid pdf in consecutive digits of pi"

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#119
I've built fillable PDFs for a manufacturing business. Links are provided within to the company website to the PDF files, which typically now open in the browser, with varying degrees of reliability. Unfortunately, many people assume this is just another page of the website and that they should be able to interact with like any other web form. Always fun trying to explain this.

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#120
post #34

That built in PDF viewer is another feature that could have been an addon. It's bloat which increases the browser's attack surface. It's completely unneeded given that just about every OS ships with some kind of PDF reader out of the box.

I would like to see Mozilla modularize Firefox more. Browsers are such huge beasts that contain everything imaginable plus the kitchen sink these days. It would be nice for these kinds of features to be add-ons that can be disabled or deleted if their functionality is not needed or desired, freeing resources for other use.

They can be part of the initial install so that Mozilla can provide the browser as they envision it, but be able to be removed for those who have other ideas of what their browser should consist of.

I don't know how technically feasible that is with their code, but it makes sense to me from a developer standpoint.

Post reply on HN