Highlighted

JavaScript change Color by click

New Here ,
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

40

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

JavaScript change Color by click

New Here ,
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

41

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

Copy link to clipboard

Copied

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

Acrobat Reader doesn't use Java!

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...
try67 LATEST
Most Valuable Participant ,
Jun 24, 2020

Copy link to clipboard

Copied

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

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...
Resources
Trending Issue & Solution
Edit PDF in Adobe Acrobat Pro DC