EDIT: I looked into some of the PDFs again and it seems I had been wrong. Not sure what they use but it doesn't seem to be js.
EDIT EDIT: But I found other forms which where affected see my response below.
I've encountered JavaScript-heavy PDF's before, but which were obviously so. (Automatically calculating values for one form field based on another, generating QR codes, etc.)
I've never come across a seemingly "normal" form PDF but which secretly used JavaScript for normal things like form filling, so that normal form-filling tools didn't work. I don't understand why the normal PDF type-in-a-text-box tool wouldn't work.
Have you actually come across this? Can you point to any examples?
For example I found following:
`/JS (if \(this.getField\("inst1"\).value == "bitte auswählen"\){\r\nthis.getField\("Hinweis"\).display = 2\r\n} else\r\n{\r\nthis.getField\("Hinweis"\).display = 1\r\n}\r\n)$ /S /JavaScript`
This (in the given PDF) causes a "notice" overlapped on top of other form fields to disappear once the first multiple choice field was selected.
So if you try to fill it out without JS some form fields are not visible (but selectable by tab). Luckily it's not included in prints.
You can be sure that even Adobe won't add JS for forms with plain text fields. ;=)
EDIT: I looked into some of the PDFs again and it seems I had been wrong. Not sure what they use but it doesn't seem to be js.
Sorry about this.
Had to install the linux version of Adobe, which is many years out of date now.
What Preview doesn't support is JavaScript, as far as I can tell, so it can't work with "smart" PDF's, e.g. that will do calculations for you.
Is that what you're referring to? Or I'd love to know any specific issue you've run into with form fields.