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

transparent form for every user

New Here ,
Nov 16, 2022 Nov 16, 2022

Copy link to clipboard

Copied

Good afternoon everyone.
We have a problem creating a form to fill out. We need a transparent form, but every single user should go on Preferences-Forms and deactivate "Show border hover color for fields" in order to not see the default light blue background.

Creating the form on Acrobat Pro, we set as transparent every single line, but we see the transparency only on that computer; as soon as we open the same file with another computer, we see the form with the light blue background (check attached image), and we have to deactivate it on preferences.
Is there a script or a way to set as permanent the transparency of the form?
Thanks a lot for your help

TOPICS
Comment review and collaborate PDF , How to , JavaScript , PDF forms

Views

681

Translate

Translate

Report

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

correct answers 3 Correct answers

Community Expert , Nov 16, 2022 Nov 16, 2022

There is a way to turn off highlight with a script, but it's not recommended to change settings of other users without their knowledge, so I would recommend to use alert when document open to check if highlight is 'ON' then ask user if he wants to turn it off.

 

EDIT:

You can use something like this as document level script:

if(app.runtimeHighlight){
var cAlert = app.alert("Your fields highlight is turned 'ON' you won't be able to see fields as we intended.\nIf you wish to turn it 'OFF' click 'Y
...

Votes

Translate

Translate
Community Expert , Nov 22, 2022 Nov 22, 2022

The easiest way to do this is to "flatten" the form which removes the fields but leaves the values prior to sending it to the final customer. By removing the fields, you won't see the highlight anymore. The script...

this.flattenPages()

 ... will flatten the form. Be sure to only do this to a copy of the form.

Votes

Translate

Translate
New Here , Dec 21, 2022 Dec 21, 2022

Don't flatten forms if you want to later be able to automatically read them i.e. extract the data. Form flatteners are my nemesis - apple mac users seem to do it without even knowing 😕

 

Votes

Translate

Translate
Community Expert ,
Nov 16, 2022 Nov 16, 2022

Copy link to clipboard

Copied

There is a way to turn off highlight with a script, but it's not recommended to change settings of other users without their knowledge, so I would recommend to use alert when document open to check if highlight is 'ON' then ask user if he wants to turn it off.

 

EDIT:

You can use something like this as document level script:

if(app.runtimeHighlight){
var cAlert = app.alert("Your fields highlight is turned 'ON' you won't be able to see fields as we intended.\nIf you wish to turn it 'OFF' click 'YES' otherwise click 'NO'.\nTo turn back 'ON' fields highlight go to Preference⇾Forms⇾Show border hover color for fields.",0,2)}
if(cAlert == 4)app.runtimeHighlight = false;

 

Votes

Translate

Translate

Report

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 ,
Nov 21, 2022 Nov 21, 2022

Copy link to clipboard

Copied

Dear Nesa,
really thanks for your help, it works perfectly!
Anyway, we agree with you it's not the best way setting a script that modifies user's set up.
As this is the only way to avoid the form background color, we are thinking about a different way we would like to share with you.
We need the form only for our area manager, (they only have to fill the form with customer data and other datas like revisions). When they complete the filling, they can share the document with the final customers (the final customers don't have to fill the form and we prefer they don't see the background under their informations).
Do you think there is a way to set the form as active only for some users? Or something similar like a function for the area manager to de-activate the form before sharing?

Thanks a lot for your help!

Votes

Translate

Translate

Report

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 ,
Nov 22, 2022 Nov 22, 2022

Copy link to clipboard

Copied

The easiest way to do this is to "flatten" the form which removes the fields but leaves the values prior to sending it to the final customer. By removing the fields, you won't see the highlight anymore. The script...

this.flattenPages()

 ... will flatten the form. Be sure to only do this to a copy of the form.

Votes

Translate

Translate

Report

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 ,
Dec 21, 2022 Dec 21, 2022

Copy link to clipboard

Copied

LATEST

Don't flatten forms if you want to later be able to automatically read them i.e. extract the data. Form flatteners are my nemesis - apple mac users seem to do it without even knowing 😕

 

Votes

Translate

Translate

Report

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