Skip to main content
Known Participant
Apr 3, 2023 12:07 PM UTC
Question

Creating custom shaped buttons

HI,

 

I was wondering if i am able to make custom shaped buttons on an Adobe form. i would like to make a checking in form that shows any damage done to panel work, i would like the user to click areas of an image (can be made of several images if required) that wil lthen highlight red to show where the damage is. i was hoping to use something like the image below:

 

 

This topic is closed to new replies. Start a new post to keep the conversation going.

7 replies

JR Boulay
Community Expert
Community Expert
Apr 14, 2023 11:52 AM UTC

Download the attachment provided in the best answer of this topic, you will just have to change the image (placed in the layout) or copy-paste the fields into your document:

https://community.adobe.com/t5/acrobat-discussions/indicate-pain-areas-on-body-chart/m-p/11104870

Translate
Acrobate du PDF, InDesigner et Photoshopographe
John CorfAuthor
Known Participant
Apr 14, 2023 3:00 PM UTC

Hi,

That is exactly what im looking for, unfortunatly as i will be using it on an IPad through PDF Expert it does not work! im not even sure how you would convert the code to do so eiter!

Either way, Thank you very much!

Translate
try67
Community Expert
Community Expert
Apr 16, 2023 8:43 AM UTC

If the locations are limited you can use regular button fields and change their fill color with each click. It will be less flexible than the example I provided in the linked-to thread above, but should work on PDF Expert.

The basic code for doing it is:

 

if (color.equal(event.target.fillColor, color.red)) event.target.fillColor = color.transparent;
else event.target.fillColor = color.red;

 

Translate