@Bert – would that be these (EDIT) pre-defined colors?
And what will the button do other than changing its color, if pressed or tabbed?
DPS output? => App
Flash output? => SWF file
Thanks for the quick reply.
I want to export the indesign file to a pdf form.
The client wants to have a pdf form where they can set these 3 colors as some kind of label.
Ok. Then I'd ask over in one of the Acrobat Professional forums.
I think this is doable within Acrobat Pro.
Counting how many times the button is pressed. Changing colors of the button, either arbitrary by using something like a random number generator working on the color numbers of individual RGB values or pulling the values from a predefined array of possible colors.
I'd agree with Laubender.
However, keep in mind that not all PDF readers (especially on tablets) will handle the interactivity well. You'll need to experiment with this. It may only reliably work on Adobe Reader/Acrobat on Mac or Windows.
It´s not very hard to do that kind of button in InDesign by using show/hide fields. If it´s more complicated, if there´s more colors, it may become more time consuming to make.
Here´s my quick sample, made with InDesign (open with Adobe Reader or Acrobat, as Steve mentioned, other readers won´t work that well):
If that´s what you are looking for, feel free to explore original InDesign file:
Note that there´s actually 4 buttons, one for each color, they are just stacked. Button´s visibility is simply changed by a click, visible button will be hide and next color will be shown etc...
The question is what else your button is supposed to do. You can attach multiple actions to one buttons so it´s possible to make that button do something else too - when clicked....
@Petteri – you are totally right. Doable in InDesign…
Thanks for sharing!
Thanks, Petteri. However, the same warning applies about not all PDF readers recognizing Show/Hide buttons.
Wow, thanks for helping me out. This helped me a lot, I would have never thought of this trick.
I just want it to set as a label (each color represents something).
Also many thanks to all the other people who replied!