Highlighted

Is there a javascript to change the background color of an entire form by clicking a checkbox?

New Here ,
Aug 07, 2020

Copy link to clipboard

Copied

I have a form that needs to change background colors depending on a selection. For instance, if someone selects that a contract is a revenue contract, the entire background of the form needs to turn pink. I see a ton of information about changing fields but nothing about changing background color based on selection. Any help will be greatly appreciated.

TOPICS
How to, PDF forms

Views

23

Likes

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

Is there a javascript to change the background color of an entire form by clicking a checkbox?

New Here ,
Aug 07, 2020

Copy link to clipboard

Copied

I have a form that needs to change background colors depending on a selection. For instance, if someone selects that a contract is a revenue contract, the entire background of the form needs to turn pink. I see a ton of information about changing fields but nothing about changing background color based on selection. Any help will be greatly appreciated.

TOPICS
How to, PDF forms

Views

24

Likes

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
Aug 07, 2020 0
Adobe Community Professional ,
Aug 07, 2020

Copy link to clipboard

Copied

A javascript could probably do that, or you could use buttons to show/hide layers. You would create a multi-layer PDF that includes all of the background colors, when the button is selected, the desired background layer color would appear. The user would need to use Acrobat or Reader to fill out the form.

Here is a link to a related discussions with instructions:

https://community.adobe.com/t5/indesign/creating-an-interactive-gallery-exportable-pdf-in-indesign/m...

 

Likes

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
Reply
Loading...
Aug 07, 2020 0