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

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

New Here ,
Aug 07, 2020 Aug 07, 2020

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
728
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 07, 2020 Aug 07, 2020
LATEST

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

 

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