try67
Community Expert
try67
Community Expert
Activity
Mar 05, 2025
06:50 AM
If it works in Acrobat and not in Reader that means you're using an old version of Reader. But I'm done trying to help you with this, since you're not being very cooperative, or thankful for the help you're getting. Good luck.
... View more
Mar 05, 2025
06:49 AM
PS. You have to disable the fields highlighting to see the fill color, while the field is not in focus.
... View more
Mar 05, 2025
06:46 AM
Move the code to the field's custom Calculation script. If it still doesn't work, and no error messages appear in the console, share the file for further help.
... View more
Mar 05, 2025
06:44 AM
Tables are not likely to take any more space than regular text. Images and fonts usually account for the vast majority of a PDF's file-size. If you could share a sample file we might be able to give more exact advice, but generally speaking removing unnecessary fonts and reducing the size (or removing entirely) images should make the most difference.
... View more
Mar 05, 2025
05:38 AM
The only updates that will be synced are those you make to fields, if they share the same name. Static page contents on each page is independent of all other pages, even if those pages were initially duplicated or spawned from that original page.
... View more
Mar 05, 2025
05:36 AM
PDF files have to be downloaded before they can be viewed. That can't be changed.
What you're probably trying to achieve is to open them directly in the browser.
That would depend on the browser you use. If you let us know, we could help further.
... View more
Mar 05, 2025
05:35 AM
If you do not see the page size in the main window, go to Menu - Preferences - Page Display and tick the check-box next to "Always show document page size".
... View more
Mar 05, 2025
05:34 AM
Use a digital signature field and set it as required, so the user must sign the file before submitting it.
Under the field's Properties, in the Signed tab, you can set it to lock all the other fields in the file.
... View more
Mar 05, 2025
12:46 AM
Are you using quite an old version of Reader, perhaps?
... View more
Mar 04, 2025
03:09 PM
This code is unnecessarily complex for the task you described. My code should work just fine, and it will handle all scenarios.
... View more
Mar 04, 2025
03:08 PM
- The export values of the fields in the group don't matter. Only those of the final score group, which need to be "Choice1" and "Choice2".
- If it's not working check the JS Console for error messages.
If you still can't figure it out, share the for further help.
... View more
Mar 04, 2025
02:57 PM
Use the installer from here:
https://helpx.adobe.com/download-install/kb/acrobat-2020-downloads.html
... View more
Mar 04, 2025
02:55 PM
Not possible using JavaScript.
... View more
Mar 04, 2025
02:37 PM
1 Upvote
My corrections are not related to the error message. Follow Thom's good advice to solve that one first, then do the rest.
... View more
Mar 04, 2025
02:22 PM
> Just replace it and you are good.
Not quite... There are plenty of other errors in their code.
- Change all instances of:
if (v="Compliant")
To:
if (v=="Compliant")
- There's no such thing as color.orange. Replace it with a color object, like this:
event.target.fillColor = ["RGB", 255/255, 165/255, 0/255];
- This seems wrong:
if (v="best Practice")
It should probably be:
if (v=="Best Practice")
Remember that JS is case-sensitive!
... View more
Mar 04, 2025
04:22 AM
1 Upvote
Has nothing to do with the JS version, but the app used.
... View more
Mar 04, 2025
03:43 AM
1 Upvote
It's compatible with an application that can execute JS code correctly, and that has an implementation of these properties (such as viewerVersion). If the file is opened in an app that doesn't support JS, or not correctly/fully, or has other implementation, then it won't work at all.
... View more
Mar 04, 2025
03:32 AM
They still have to use a compatible PDF viewer, and most browser-plugins are not.
... View more
Mar 04, 2025
03:13 AM
Where are you opening the file? It looks like a browser window. If so, don't do that. Save it locally and then open it in Acrobat or Reader.
... View more
Mar 04, 2025
02:40 AM
Mar 04, 2025
02:34 AM
Right... You already have the code. You posted it above. So what's the issue?
... View more
Mar 04, 2025
02:18 AM
What happens if you use the Multiple command with 2x1, and enter "1,1,2,2" as the page range?
... View more
Mar 04, 2025
02:17 AM
What do you mean? Do you not know how to add a button, or how to attach the code to it? Be more specific, please.
... View more
Mar 04, 2025
01:42 AM
Also, there can't be a space at the end of the field name. So either the name you used in the code is wrong, or your field has an incorrect name. If you edit it in Acrobat at any point, it will be removed.
... View more
Mar 03, 2025
03:47 PM
If you're interested in hiring a professional to create it for you, feel free to contact me privately by clicking my user-name and then on the blue "Message" button.
I don't see why we should do the work for free that ChatGPT was not able to do...
... View more
Mar 03, 2025
03:23 PM
This type of thing really needs to be done in the source application, not in the PDF. Do you have access to the original file that was used to create the PDF? Typically it would be a Word file, InDesign file, HTML file, or even an image file.
If you do, make the changes there (if possible), and then create a new PDF from it. If it's an image file, though, you will need to use an image editor, like Photoshop, where replacing one color with another is much easier to achieve than in Acrobat.
... View more
Mar 03, 2025
03:20 PM
If I understand you correctly, you want to insert a single-page file after each page of your PDF, correct?
If so, you can do it using (paid-for) tool I've developed: https://www.try67.com/tool/acrobat-insert-one-pdf-file-into-another-multiple-times
If you want to actually merge two 1000-page files, one with the odd pages and another with the even ones, to a single 2000-page file, you can use this other (also paid-for) tool I've created:
https://www.try67.com/tool/acrobat-combine-even-odd-pages-2018
... View more
Mar 03, 2025
03:17 PM
I'm guessing there's a corruption in the original file's structure. How did you create it, and can you share it?
... View more
Mar 03, 2025
12:35 PM
To make it work in Reader you will need to use a script to save the state of the layers when the file is closed (or saved) to something like a field or the file's metadata, and another script to read the info and then use it when the file is opened.
... View more
Mar 03, 2025
11:38 AM
That won't work if the file will be viewed in Reader.
... View more