Copy link to clipboard
Copied
Copy link to clipboard
Copied
This line will set highlight to false:
app.runtimeHighlight = false ;
where did you put the script?
Copy link to clipboard
Copied
Hi @nora_hayyal,
Hope you are doing well. Thanks for writing in!
This is Acrobat's or any other PDF viewer's method of helping the viewer to distinguish between form fields and a general white space.
You can try using scripts or removing the background from the properties, but when the filler gets into Fill & Sign mode, the form fields would be highlighted again to help the viewer.
If this is not what you were looking for, please feel free to share your feedback here: https://adobe.ly/41f0XtO to ensure it reaches the development team for review and future changes.
If you post the feedback on the Uservoice platform, please share the link to the post here for other users with similar feedbacks to leave an upvote to it.
The more the upvote, better the impact.
Regards,
Souvik.
Copy link to clipboard
Copied
I want to hide the cell shading as it makes the form look bad
Copy link to clipboard
Copied
This line will set highlight to false:
app.runtimeHighlight = false ;
where did you put the script?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
You don't need var rths = app.runtimeHighight you just need app.runtimeHighlight = false; It should work. Does it work for you? Perhaps the client is viewing the form in a PDF viewer that does not support the script (web browser, etc.). Keep in mind that this script changes the application-wide setting for the user, not just the form. The user might wonder what happened to the highlighting if they prefer that setting.
Copy link to clipboard
Copied
- This should work, but only in Acrobat or Reader. Not in other applications, most likely.
- The first line of your code does nothing. You can remove it.
- Be aware that will affect all other files the user opens as well, not just yours! It's good practice to either change it back to its original state when the file is closed (in which case you will need the first line, as well as other code) or to at least inform the user of this change, and ask for their permissions before executing it.
Copy link to clipboard
Copied
I want to hide the cell shading as it makes the form look bad
Copy link to clipboard
Copied
You still did not answer the most important question: In what application are they viewing the file?
Post a full-screen screenshot, please.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
The script will not work in Acrobat on mobile devices .
Copy link to clipboard
Copied
Again, what browser? What PDF viewer within that browser?
About mobile devices there's nothing you can do. Such a script won't work there.
Just learn to live with it. It's really not a big deal.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now