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

JavaScript change Color by click

New Here ,
Jun 23, 2020 Jun 23, 2020

Copy link to clipboard

Copied

Hello everybody

I have created a button in InDesign and now exported it as a PDF. Now I would like to program the field to change color when I click on it and to show the default color when I click again. Is there a Java code that I can use?

Best regards

 

Like This:

ddfsfs.PNG

TOPICS
Edit and convert PDFs , How to

Views

486

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 ,
Jun 23, 2020 Jun 23, 2020

Copy link to clipboard

Copied

"Is there a Java code that I can use?"

Acrobat Reader doesn't use Java!

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 ,
Jun 24, 2020 Jun 24, 2020

Copy link to clipboard

Copied

LATEST

PDF fields can only be rectangular. If you want to have a non-rectangular form then you need to use an image, preferably as a part of a layer. You can (partially) overlay a field on top of that area that will cause it to toggle on or off.

 

I've developed similar solutions for my clients in the past, and while it's not a simple task, it is doable. If you're interested in hiring someone to do it for you feel free to contact me privately via [try6767 at gmail.com].

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