Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

I want to hide the highlight from the form

New Here ,
Aug 20, 2025 Aug 20, 2025

I want to hide the highlight from the form 

I tried to hide it from the properties
I also tried putting the script:
var rths = app.runtimeHighlight ;
app.runtimeHighlight = false ;


But to no avail
Highlight appears at the client!!

Do you have a solution??

TOPICS
How to , PDF , PDF forms
414
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Aug 20, 2025 Aug 20, 2025

This line will set highlight to false:
app.runtimeHighlight = false ;
where did you put the script?

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 20, 2025 Aug 20, 2025

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 22, 2025 Aug 22, 2025

I want to hide the cell shading as it makes the form look bad

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 20, 2025 Aug 20, 2025

This line will set highlight to false:
app.runtimeHighlight = false ;
where did you put the script?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 22, 2025 Aug 22, 2025

Screenshot 2025-08-22 102053.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 22, 2025 Aug 22, 2025

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 22, 2025 Aug 22, 2025

- 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 22, 2025 Aug 22, 2025

I want to hide the cell shading as it makes the form look bad

This script does not work!
The highlight appears on the client's screen.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 22, 2025 Aug 22, 2025

You still did not answer the most important question: In what application are they viewing the file?

Post a full-screen screenshot, please.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 22, 2025 Aug 22, 2025

WhatsApp Image 2025-08-23 at 09.30.34.jpeg

 

 

This image is taken from Adobe Acrobat on a mobile phone.
Unfortunately, it appears this way in client browsers.
This makes the design look bad
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 22, 2025 Aug 22, 2025
Most customers only use mobile phones.
What do you think the solution is
 
 
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 23, 2025 Aug 23, 2025

The script will not work in Acrobat on mobile devices . 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 23, 2025 Aug 23, 2025
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines